@scalar/openapi-types 0.1.9 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (246) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/README.md +76 -0
  3. package/dist/schemas/3.1/processed/base-path-item-object.d.ts +603 -0
  4. package/dist/schemas/3.1/processed/base-path-item-object.d.ts.map +1 -0
  5. package/dist/schemas/3.1/processed/base-path-item-object.js +35 -0
  6. package/dist/schemas/3.1/processed/callback-object.d.ts +169 -0
  7. package/dist/schemas/3.1/processed/callback-object.d.ts.map +1 -0
  8. package/dist/schemas/3.1/processed/callback-object.js +17 -0
  9. package/dist/schemas/3.1/processed/components-object.d.ts +14411 -0
  10. package/dist/schemas/3.1/processed/components-object.d.ts.map +1 -0
  11. package/dist/schemas/3.1/processed/components-object.js +64 -0
  12. package/dist/schemas/3.1/processed/contact-object.d.ts +25 -0
  13. package/dist/schemas/3.1/processed/contact-object.d.ts.map +1 -0
  14. package/dist/schemas/3.1/processed/contact-object.js +19 -0
  15. package/dist/schemas/3.1/processed/discriminator-object.d.ts +32 -0
  16. package/dist/schemas/3.1/processed/discriminator-object.d.ts.map +1 -0
  17. package/dist/schemas/3.1/processed/discriminator-object.js +28 -0
  18. package/dist/schemas/3.1/processed/encoding-object.d.ts +191 -0
  19. package/dist/schemas/3.1/processed/encoding-object.d.ts.map +1 -0
  20. package/dist/schemas/3.1/processed/encoding-object.js +30 -0
  21. package/dist/schemas/3.1/processed/example-object.d.ts +43 -0
  22. package/dist/schemas/3.1/processed/example-object.d.ts.map +1 -0
  23. package/dist/schemas/3.1/processed/example-object.js +35 -0
  24. package/dist/schemas/3.1/processed/external-documentation-object.d.ts +21 -0
  25. package/dist/schemas/3.1/processed/external-documentation-object.d.ts.map +1 -0
  26. package/dist/schemas/3.1/processed/external-documentation-object.js +17 -0
  27. package/dist/schemas/3.1/processed/header-object.d.ts +161 -0
  28. package/dist/schemas/3.1/processed/header-object.d.ts.map +1 -0
  29. package/dist/schemas/3.1/processed/header-object.js +66 -0
  30. package/dist/schemas/3.1/processed/index.d.ts +31 -0
  31. package/dist/schemas/3.1/processed/index.d.ts.map +1 -0
  32. package/dist/schemas/3.1/processed/index.js +30 -0
  33. package/dist/schemas/3.1/processed/info-object.d.ts +89 -0
  34. package/dist/schemas/3.1/processed/info-object.d.ts.map +1 -0
  35. package/dist/schemas/3.1/processed/info-object.js +45 -0
  36. package/dist/schemas/3.1/processed/license-object.d.ts +27 -0
  37. package/dist/schemas/3.1/processed/license-object.d.ts.map +1 -0
  38. package/dist/schemas/3.1/processed/license-object.js +21 -0
  39. package/dist/schemas/3.1/processed/link-object.d.ts +110 -0
  40. package/dist/schemas/3.1/processed/link-object.d.ts.map +1 -0
  41. package/dist/schemas/3.1/processed/link-object.js +52 -0
  42. package/dist/schemas/3.1/processed/media-type-object-without-encoding.d.ts +60 -0
  43. package/dist/schemas/3.1/processed/media-type-object-without-encoding.d.ts.map +1 -0
  44. package/dist/schemas/3.1/processed/media-type-object-without-encoding.js +34 -0
  45. package/dist/schemas/3.1/processed/media-type-object.d.ts +289 -0
  46. package/dist/schemas/3.1/processed/media-type-object.d.ts.map +1 -0
  47. package/dist/schemas/3.1/processed/media-type-object.js +38 -0
  48. package/dist/schemas/3.1/processed/openapi-object.d.ts +31 -0
  49. package/dist/schemas/3.1/processed/openapi-object.d.ts.map +1 -0
  50. package/dist/schemas/3.1/processed/openapi-object.js +78 -0
  51. package/dist/schemas/3.1/processed/operation-object-without-callbacks.d.ts +2094 -0
  52. package/dist/schemas/3.1/processed/operation-object-without-callbacks.d.ts.map +1 -0
  53. package/dist/schemas/3.1/processed/operation-object-without-callbacks.js +72 -0
  54. package/dist/schemas/3.1/processed/operation-object.d.ts +16 -0
  55. package/dist/schemas/3.1/processed/operation-object.d.ts.map +1 -0
  56. package/dist/schemas/3.1/processed/operation-object.js +22 -0
  57. package/dist/schemas/3.1/processed/parameter-object.d.ts +476 -0
  58. package/dist/schemas/3.1/processed/parameter-object.d.ts.map +1 -0
  59. package/dist/schemas/3.1/processed/parameter-object.js +93 -0
  60. package/dist/schemas/3.1/processed/path-item-object-without-callbacks.d.ts +25 -0
  61. package/dist/schemas/3.1/processed/path-item-object-without-callbacks.d.ts.map +1 -0
  62. package/dist/schemas/3.1/processed/path-item-object-without-callbacks.js +48 -0
  63. package/dist/schemas/3.1/processed/path-item-object.d.ts +7741 -0
  64. package/dist/schemas/3.1/processed/path-item-object.d.ts.map +1 -0
  65. package/dist/schemas/3.1/processed/path-item-object.js +48 -0
  66. package/dist/schemas/3.1/processed/paths-object.d.ts +7718 -0
  67. package/dist/schemas/3.1/processed/paths-object.d.ts.map +1 -0
  68. package/dist/schemas/3.1/processed/paths-object.js +23 -0
  69. package/dist/schemas/3.1/processed/request-body-object.d.ts +595 -0
  70. package/dist/schemas/3.1/processed/request-body-object.d.ts.map +1 -0
  71. package/dist/schemas/3.1/processed/request-body-object.js +33 -0
  72. package/dist/schemas/3.1/processed/response-object.d.ts +633 -0
  73. package/dist/schemas/3.1/processed/response-object.d.ts.map +1 -0
  74. package/dist/schemas/3.1/processed/response-object.js +36 -0
  75. package/dist/schemas/3.1/processed/responses-object.d.ts +626 -0
  76. package/dist/schemas/3.1/processed/responses-object.d.ts.map +1 -0
  77. package/dist/schemas/3.1/processed/responses-object.js +31 -0
  78. package/dist/schemas/3.1/processed/runtime-expression.d.ts +15 -0
  79. package/dist/schemas/3.1/processed/runtime-expression.d.ts.map +1 -0
  80. package/dist/schemas/3.1/processed/runtime-expression.js +98 -0
  81. package/dist/schemas/3.1/processed/schema-object.d.ts +8 -0
  82. package/dist/schemas/3.1/processed/schema-object.d.ts.map +1 -0
  83. package/dist/schemas/3.1/processed/schema-object.js +91 -0
  84. package/dist/schemas/3.1/processed/security-requirement-object.d.ts +21 -0
  85. package/dist/schemas/3.1/processed/security-requirement-object.d.ts.map +1 -0
  86. package/dist/schemas/3.1/processed/security-requirement-object.js +37 -0
  87. package/dist/schemas/3.1/processed/security-scheme-object.d.ts +823 -0
  88. package/dist/schemas/3.1/processed/security-scheme-object.d.ts.map +1 -0
  89. package/dist/schemas/3.1/processed/security-scheme-object.js +170 -0
  90. package/dist/schemas/3.1/processed/server-object.d.ts +52 -0
  91. package/dist/schemas/3.1/processed/server-object.d.ts.map +1 -0
  92. package/dist/schemas/3.1/processed/server-object.js +27 -0
  93. package/dist/schemas/3.1/processed/server-variable-object.d.ts +33 -0
  94. package/dist/schemas/3.1/processed/server-variable-object.d.ts.map +1 -0
  95. package/dist/schemas/3.1/processed/server-variable-object.js +27 -0
  96. package/dist/schemas/3.1/processed/tag-object.d.ts +41 -0
  97. package/dist/schemas/3.1/processed/tag-object.d.ts.map +1 -0
  98. package/dist/schemas/3.1/processed/tag-object.js +21 -0
  99. package/dist/schemas/3.1/processed/webhooks-object.d.ts +172 -0
  100. package/dist/schemas/3.1/processed/webhooks-object.d.ts.map +1 -0
  101. package/dist/schemas/3.1/processed/webhooks-object.js +19 -0
  102. package/dist/schemas/3.1/processed/xml-object.d.ts +51 -0
  103. package/dist/schemas/3.1/processed/xml-object.d.ts.map +1 -0
  104. package/dist/schemas/3.1/processed/xml-object.js +40 -0
  105. package/dist/schemas/3.1/unprocessed/base-path-item-object.d.ts +1811 -0
  106. package/dist/schemas/3.1/unprocessed/base-path-item-object.d.ts.map +1 -0
  107. package/dist/schemas/3.1/unprocessed/base-path-item-object.js +23 -0
  108. package/dist/schemas/3.1/unprocessed/callback-object.d.ts +168 -0
  109. package/dist/schemas/3.1/unprocessed/callback-object.d.ts.map +1 -0
  110. package/dist/schemas/3.1/unprocessed/callback-object.js +15 -0
  111. package/dist/schemas/3.1/unprocessed/components-object.d.ts +28835 -0
  112. package/dist/schemas/3.1/unprocessed/components-object.d.ts.map +1 -0
  113. package/dist/schemas/3.1/unprocessed/components-object.js +66 -0
  114. package/dist/schemas/3.1/unprocessed/contact-object.d.ts +21 -0
  115. package/dist/schemas/3.1/unprocessed/contact-object.d.ts.map +1 -0
  116. package/dist/schemas/3.1/unprocessed/contact-object.js +12 -0
  117. package/dist/schemas/3.1/unprocessed/discriminator-object.d.ts +23 -0
  118. package/dist/schemas/3.1/unprocessed/discriminator-object.d.ts.map +1 -0
  119. package/dist/schemas/3.1/unprocessed/discriminator-object.js +17 -0
  120. package/dist/schemas/3.1/unprocessed/encoding-object.d.ts +402 -0
  121. package/dist/schemas/3.1/unprocessed/encoding-object.d.ts.map +1 -0
  122. package/dist/schemas/3.1/unprocessed/encoding-object.js +26 -0
  123. package/dist/schemas/3.1/unprocessed/example-object.d.ts +28 -0
  124. package/dist/schemas/3.1/unprocessed/example-object.d.ts.map +1 -0
  125. package/dist/schemas/3.1/unprocessed/example-object.js +16 -0
  126. package/dist/schemas/3.1/unprocessed/external-documentation-object.d.ts +18 -0
  127. package/dist/schemas/3.1/unprocessed/external-documentation-object.d.ts.map +1 -0
  128. package/dist/schemas/3.1/unprocessed/external-documentation-object.js +12 -0
  129. package/dist/schemas/3.1/unprocessed/header-object.d.ts +217 -0
  130. package/dist/schemas/3.1/unprocessed/header-object.d.ts.map +1 -0
  131. package/dist/schemas/3.1/unprocessed/header-object.js +42 -0
  132. package/dist/schemas/3.1/unprocessed/index.d.ts +32 -0
  133. package/dist/schemas/3.1/unprocessed/index.d.ts.map +1 -0
  134. package/dist/schemas/3.1/unprocessed/index.js +31 -0
  135. package/dist/schemas/3.1/unprocessed/info-object.d.ts +66 -0
  136. package/dist/schemas/3.1/unprocessed/info-object.d.ts.map +1 -0
  137. package/dist/schemas/3.1/unprocessed/info-object.js +13 -0
  138. package/dist/schemas/3.1/unprocessed/license-object.d.ts +21 -0
  139. package/dist/schemas/3.1/unprocessed/license-object.d.ts.map +1 -0
  140. package/dist/schemas/3.1/unprocessed/license-object.js +12 -0
  141. package/dist/schemas/3.1/unprocessed/link-object.d.ts +86 -0
  142. package/dist/schemas/3.1/unprocessed/link-object.d.ts.map +1 -0
  143. package/dist/schemas/3.1/unprocessed/link-object.js +20 -0
  144. package/dist/schemas/3.1/unprocessed/media-type-object-without-encoding.d.ts +46 -0
  145. package/dist/schemas/3.1/unprocessed/media-type-object-without-encoding.d.ts.map +1 -0
  146. package/dist/schemas/3.1/unprocessed/media-type-object-without-encoding.js +12 -0
  147. package/dist/schemas/3.1/unprocessed/media-type-object.d.ts +728 -0
  148. package/dist/schemas/3.1/unprocessed/media-type-object.d.ts.map +1 -0
  149. package/dist/schemas/3.1/unprocessed/media-type-object.js +40 -0
  150. package/dist/schemas/3.1/unprocessed/openapi-object.d.ts +31 -0
  151. package/dist/schemas/3.1/unprocessed/openapi-object.d.ts.map +1 -0
  152. package/dist/schemas/3.1/unprocessed/openapi-object.js +12 -0
  153. package/dist/schemas/3.1/unprocessed/operation-object-without-callbacks.d.ts +3893 -0
  154. package/dist/schemas/3.1/unprocessed/operation-object-without-callbacks.d.ts.map +1 -0
  155. package/dist/schemas/3.1/unprocessed/operation-object-without-callbacks.js +45 -0
  156. package/dist/schemas/3.1/unprocessed/operation-object.d.ts +17 -0
  157. package/dist/schemas/3.1/unprocessed/operation-object.d.ts.map +1 -0
  158. package/dist/schemas/3.1/unprocessed/operation-object.js +23 -0
  159. package/dist/schemas/3.1/unprocessed/parameter-object.d.ts +1186 -0
  160. package/dist/schemas/3.1/unprocessed/parameter-object.d.ts.map +1 -0
  161. package/dist/schemas/3.1/unprocessed/parameter-object.js +31 -0
  162. package/dist/schemas/3.1/unprocessed/path-item-object-without-callbacks.d.ts +25 -0
  163. package/dist/schemas/3.1/unprocessed/path-item-object-without-callbacks.d.ts.map +1 -0
  164. package/dist/schemas/3.1/unprocessed/path-item-object-without-callbacks.js +48 -0
  165. package/dist/schemas/3.1/unprocessed/path-item-object.d.ts +9743 -0
  166. package/dist/schemas/3.1/unprocessed/path-item-object.d.ts.map +1 -0
  167. package/dist/schemas/3.1/unprocessed/path-item-object.js +62 -0
  168. package/dist/schemas/3.1/unprocessed/paths-object.d.ts +7717 -0
  169. package/dist/schemas/3.1/unprocessed/paths-object.d.ts.map +1 -0
  170. package/dist/schemas/3.1/unprocessed/paths-object.js +14 -0
  171. package/dist/schemas/3.1/unprocessed/reference-object.d.ts +36 -0
  172. package/dist/schemas/3.1/unprocessed/reference-object.d.ts.map +1 -0
  173. package/dist/schemas/3.1/unprocessed/reference-object.js +30 -0
  174. package/dist/schemas/3.1/unprocessed/request-body-object.d.ts +580 -0
  175. package/dist/schemas/3.1/unprocessed/request-body-object.d.ts.map +1 -0
  176. package/dist/schemas/3.1/unprocessed/request-body-object.js +12 -0
  177. package/dist/schemas/3.1/unprocessed/response-object.d.ts +1661 -0
  178. package/dist/schemas/3.1/unprocessed/response-object.d.ts.map +1 -0
  179. package/dist/schemas/3.1/unprocessed/response-object.js +34 -0
  180. package/dist/schemas/3.1/unprocessed/responses-object.d.ts +1669 -0
  181. package/dist/schemas/3.1/unprocessed/responses-object.d.ts.map +1 -0
  182. package/dist/schemas/3.1/unprocessed/responses-object.js +32 -0
  183. package/dist/schemas/3.1/unprocessed/runtime-expression.d.ts +14 -0
  184. package/dist/schemas/3.1/unprocessed/runtime-expression.d.ts.map +1 -0
  185. package/dist/schemas/3.1/unprocessed/runtime-expression.js +17 -0
  186. package/dist/schemas/3.1/unprocessed/schema-object.d.ts +8 -0
  187. package/dist/schemas/3.1/unprocessed/schema-object.d.ts.map +1 -0
  188. package/dist/schemas/3.1/unprocessed/schema-object.js +32 -0
  189. package/dist/schemas/3.1/unprocessed/security-requirement-object.d.ts +20 -0
  190. package/dist/schemas/3.1/unprocessed/security-requirement-object.d.ts.map +1 -0
  191. package/dist/schemas/3.1/unprocessed/security-requirement-object.js +23 -0
  192. package/dist/schemas/3.1/unprocessed/security-scheme-object.d.ts +590 -0
  193. package/dist/schemas/3.1/unprocessed/security-scheme-object.d.ts.map +1 -0
  194. package/dist/schemas/3.1/unprocessed/security-scheme-object.js +29 -0
  195. package/dist/schemas/3.1/unprocessed/server-object.d.ts +41 -0
  196. package/dist/schemas/3.1/unprocessed/server-object.d.ts.map +1 -0
  197. package/dist/schemas/3.1/unprocessed/server-object.js +12 -0
  198. package/dist/schemas/3.1/unprocessed/server-variable-object.d.ts +21 -0
  199. package/dist/schemas/3.1/unprocessed/server-variable-object.d.ts.map +1 -0
  200. package/dist/schemas/3.1/unprocessed/server-variable-object.js +12 -0
  201. package/dist/schemas/3.1/unprocessed/tag-object.d.ts +37 -0
  202. package/dist/schemas/3.1/unprocessed/tag-object.d.ts.map +1 -0
  203. package/dist/schemas/3.1/unprocessed/tag-object.js +13 -0
  204. package/dist/schemas/3.1/unprocessed/webhooks-object.d.ts +212 -0
  205. package/dist/schemas/3.1/unprocessed/webhooks-object.d.ts.map +1 -0
  206. package/dist/schemas/3.1/unprocessed/webhooks-object.js +19 -0
  207. package/dist/schemas/3.1/unprocessed/xml-object.d.ts +31 -0
  208. package/dist/schemas/3.1/unprocessed/xml-object.d.ts.map +1 -0
  209. package/dist/schemas/3.1/unprocessed/xml-object.js +16 -0
  210. package/dist/schemas/extensions/index.d.ts +11 -0
  211. package/dist/schemas/extensions/index.d.ts.map +1 -0
  212. package/dist/schemas/extensions/index.js +10 -0
  213. package/dist/schemas/extensions/x-additional-properties-name.d.ts +16 -0
  214. package/dist/schemas/extensions/x-additional-properties-name.d.ts.map +1 -0
  215. package/dist/schemas/extensions/x-additional-properties-name.js +14 -0
  216. package/dist/schemas/extensions/x-code-samples.d.ts +76 -0
  217. package/dist/schemas/extensions/x-code-samples.d.ts.map +1 -0
  218. package/dist/schemas/extensions/x-code-samples.js +14 -0
  219. package/dist/schemas/extensions/x-display-name.d.ts +17 -0
  220. package/dist/schemas/extensions/x-display-name.d.ts.map +1 -0
  221. package/dist/schemas/extensions/x-enum-descriptions.d.ts +22 -0
  222. package/dist/schemas/extensions/x-enum-descriptions.d.ts.map +1 -0
  223. package/dist/schemas/extensions/x-enum-descriptions.js +20 -0
  224. package/dist/schemas/extensions/x-internal.d.ts +9 -0
  225. package/dist/schemas/extensions/x-internal.d.ts.map +1 -0
  226. package/dist/schemas/extensions/x-internal.js +7 -0
  227. package/dist/schemas/extensions/x-scalar-icon.d.ts +9 -0
  228. package/dist/schemas/extensions/x-scalar-icon.d.ts.map +1 -0
  229. package/dist/schemas/extensions/x-scalar-icon.js +7 -0
  230. package/dist/schemas/extensions/x-scalar-ignore.d.ts +9 -0
  231. package/dist/schemas/extensions/x-scalar-ignore.d.ts.map +1 -0
  232. package/dist/schemas/extensions/x-scalar-ignore.js +7 -0
  233. package/dist/schemas/extensions/x-scalar-redirect-uri.d.ts +9 -0
  234. package/dist/schemas/extensions/x-scalar-redirect-uri.d.ts.map +1 -0
  235. package/dist/schemas/extensions/x-scalar-redirect-uri.js +7 -0
  236. package/dist/schemas/extensions/x-scalar-stability.d.ts +23 -0
  237. package/dist/schemas/extensions/x-scalar-stability.d.ts.map +1 -0
  238. package/dist/schemas/extensions/x-scalar-stability.js +23 -0
  239. package/dist/schemas/extensions/x-tag-groups.d.ts +39 -0
  240. package/dist/schemas/extensions/x-tag-groups.d.ts.map +1 -0
  241. package/dist/schemas/extensions/x-tag-groups.js +20 -0
  242. package/dist/schemas/extensions/x-use-pkce.d.ts +14 -0
  243. package/dist/schemas/extensions/x-use-pkce.d.ts.map +1 -0
  244. package/dist/schemas/extensions/x-use-pkce.js +12 -0
  245. package/package.json +20 -2
  246. package/LICENSE +0 -21
@@ -0,0 +1,626 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * Responses Object
4
+ *
5
+ * A container for the expected responses of an operation. The container maps a HTTP response code to the expected
6
+ * response.
7
+ *
8
+ * The documentation is not necessarily expected to cover all possible HTTP response codes because they may not be known
9
+ * in advance. However, documentation is expected to cover a successful operation response and any known errors.
10
+ * The default MAY be used as a default Response Object for all HTTP codes that are not covered individually by the
11
+ * Responses Object.
12
+ *
13
+ * The Responses Object MUST contain at least one response code, and if only one response code is provided it SHOULD be
14
+ * the response for a successful operation call.
15
+ *
16
+ * @see https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.1.md#responses-object
17
+ */
18
+ export declare const ResponsesObjectSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
19
+ description: z.ZodString;
20
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
21
+ description: z.ZodOptional<z.ZodString>;
22
+ required: z.ZodOptional<z.ZodBoolean>;
23
+ deprecated: z.ZodOptional<z.ZodBoolean>;
24
+ style: z.ZodOptional<z.ZodEnum<["matrix", "label", "simple", "form", "spaceDelimited", "pipeDelimited", "deepObject"]>>;
25
+ explode: z.ZodOptional<z.ZodBoolean>;
26
+ schema: z.ZodOptional<z.ZodType<Record<string, any>, z.ZodTypeDef, Record<string, any>>>;
27
+ example: z.ZodOptional<z.ZodAny>;
28
+ examples: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
29
+ summary: z.ZodOptional<z.ZodString>;
30
+ description: z.ZodOptional<z.ZodString>;
31
+ value: z.ZodOptional<z.ZodAny>;
32
+ externalValue: z.ZodOptional<z.ZodString>;
33
+ }, "strip", z.ZodTypeAny, {
34
+ description?: string | undefined;
35
+ summary?: string | undefined;
36
+ value?: any;
37
+ externalValue?: string | undefined;
38
+ }, {
39
+ description?: string | undefined;
40
+ summary?: string | undefined;
41
+ value?: any;
42
+ externalValue?: string | undefined;
43
+ }>>>;
44
+ content: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
45
+ schema: z.ZodOptional<z.ZodType<Record<string, any>, z.ZodTypeDef, Record<string, any>>>;
46
+ example: z.ZodOptional<z.ZodAny>;
47
+ examples: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
48
+ summary: z.ZodOptional<z.ZodString>;
49
+ description: z.ZodOptional<z.ZodString>;
50
+ value: z.ZodOptional<z.ZodAny>;
51
+ externalValue: z.ZodOptional<z.ZodString>;
52
+ }, "strip", z.ZodTypeAny, {
53
+ description?: string | undefined;
54
+ summary?: string | undefined;
55
+ value?: any;
56
+ externalValue?: string | undefined;
57
+ }, {
58
+ description?: string | undefined;
59
+ summary?: string | undefined;
60
+ value?: any;
61
+ externalValue?: string | undefined;
62
+ }>>>;
63
+ }, "strip", z.ZodTypeAny, {
64
+ example?: any;
65
+ examples?: Record<string, {
66
+ description?: string | undefined;
67
+ summary?: string | undefined;
68
+ value?: any;
69
+ externalValue?: string | undefined;
70
+ }> | undefined;
71
+ schema?: Record<string, any> | undefined;
72
+ }, {
73
+ example?: any;
74
+ examples?: Record<string, {
75
+ description?: string | undefined;
76
+ summary?: string | undefined;
77
+ value?: any;
78
+ externalValue?: string | undefined;
79
+ }> | undefined;
80
+ schema?: Record<string, any> | undefined;
81
+ }>>>;
82
+ }, "strip", z.ZodTypeAny, {
83
+ description?: string | undefined;
84
+ deprecated?: boolean | undefined;
85
+ content?: Record<string, {
86
+ example?: any;
87
+ examples?: Record<string, {
88
+ description?: string | undefined;
89
+ summary?: string | undefined;
90
+ value?: any;
91
+ externalValue?: string | undefined;
92
+ }> | undefined;
93
+ schema?: Record<string, any> | undefined;
94
+ }> | undefined;
95
+ required?: boolean | undefined;
96
+ example?: any;
97
+ examples?: Record<string, {
98
+ description?: string | undefined;
99
+ summary?: string | undefined;
100
+ value?: any;
101
+ externalValue?: string | undefined;
102
+ }> | undefined;
103
+ schema?: Record<string, any> | undefined;
104
+ style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
105
+ explode?: boolean | undefined;
106
+ }, {
107
+ description?: string | undefined;
108
+ deprecated?: boolean | undefined;
109
+ content?: Record<string, {
110
+ example?: any;
111
+ examples?: Record<string, {
112
+ description?: string | undefined;
113
+ summary?: string | undefined;
114
+ value?: any;
115
+ externalValue?: string | undefined;
116
+ }> | undefined;
117
+ schema?: Record<string, any> | undefined;
118
+ }> | undefined;
119
+ required?: boolean | undefined;
120
+ example?: any;
121
+ examples?: Record<string, {
122
+ description?: string | undefined;
123
+ summary?: string | undefined;
124
+ value?: any;
125
+ externalValue?: string | undefined;
126
+ }> | undefined;
127
+ schema?: Record<string, any> | undefined;
128
+ style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
129
+ explode?: boolean | undefined;
130
+ }>>>;
131
+ content: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
132
+ schema: z.ZodOptional<z.ZodType<Record<string, any>, z.ZodTypeDef, Record<string, any>>>;
133
+ example: z.ZodOptional<z.ZodAny>;
134
+ examples: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
135
+ summary: z.ZodOptional<z.ZodString>;
136
+ description: z.ZodOptional<z.ZodString>;
137
+ value: z.ZodOptional<z.ZodAny>;
138
+ externalValue: z.ZodOptional<z.ZodString>;
139
+ }, "strip", z.ZodTypeAny, {
140
+ description?: string | undefined;
141
+ summary?: string | undefined;
142
+ value?: any;
143
+ externalValue?: string | undefined;
144
+ }, {
145
+ description?: string | undefined;
146
+ summary?: string | undefined;
147
+ value?: any;
148
+ externalValue?: string | undefined;
149
+ }>>>;
150
+ encoding: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
151
+ contentType: z.ZodString;
152
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
153
+ description: z.ZodOptional<z.ZodString>;
154
+ required: z.ZodOptional<z.ZodBoolean>;
155
+ deprecated: z.ZodOptional<z.ZodBoolean>;
156
+ style: z.ZodOptional<z.ZodEnum<["matrix", "label", "simple", "form", "spaceDelimited", "pipeDelimited", "deepObject"]>>;
157
+ explode: z.ZodOptional<z.ZodBoolean>;
158
+ schema: z.ZodOptional<z.ZodType<Record<string, any>, z.ZodTypeDef, Record<string, any>>>;
159
+ example: z.ZodOptional<z.ZodAny>;
160
+ examples: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
161
+ summary: z.ZodOptional<z.ZodString>;
162
+ description: z.ZodOptional<z.ZodString>;
163
+ value: z.ZodOptional<z.ZodAny>;
164
+ externalValue: z.ZodOptional<z.ZodString>;
165
+ }, "strip", z.ZodTypeAny, {
166
+ description?: string | undefined;
167
+ summary?: string | undefined;
168
+ value?: any;
169
+ externalValue?: string | undefined;
170
+ }, {
171
+ description?: string | undefined;
172
+ summary?: string | undefined;
173
+ value?: any;
174
+ externalValue?: string | undefined;
175
+ }>>>;
176
+ content: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
177
+ schema: z.ZodOptional<z.ZodType<Record<string, any>, z.ZodTypeDef, Record<string, any>>>;
178
+ example: z.ZodOptional<z.ZodAny>;
179
+ examples: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
180
+ summary: z.ZodOptional<z.ZodString>;
181
+ description: z.ZodOptional<z.ZodString>;
182
+ value: z.ZodOptional<z.ZodAny>;
183
+ externalValue: z.ZodOptional<z.ZodString>;
184
+ }, "strip", z.ZodTypeAny, {
185
+ description?: string | undefined;
186
+ summary?: string | undefined;
187
+ value?: any;
188
+ externalValue?: string | undefined;
189
+ }, {
190
+ description?: string | undefined;
191
+ summary?: string | undefined;
192
+ value?: any;
193
+ externalValue?: string | undefined;
194
+ }>>>;
195
+ }, "strip", z.ZodTypeAny, {
196
+ example?: any;
197
+ examples?: Record<string, {
198
+ description?: string | undefined;
199
+ summary?: string | undefined;
200
+ value?: any;
201
+ externalValue?: string | undefined;
202
+ }> | undefined;
203
+ schema?: Record<string, any> | undefined;
204
+ }, {
205
+ example?: any;
206
+ examples?: Record<string, {
207
+ description?: string | undefined;
208
+ summary?: string | undefined;
209
+ value?: any;
210
+ externalValue?: string | undefined;
211
+ }> | undefined;
212
+ schema?: Record<string, any> | undefined;
213
+ }>>>;
214
+ }, "strip", z.ZodTypeAny, {
215
+ description?: string | undefined;
216
+ deprecated?: boolean | undefined;
217
+ content?: Record<string, {
218
+ example?: any;
219
+ examples?: Record<string, {
220
+ description?: string | undefined;
221
+ summary?: string | undefined;
222
+ value?: any;
223
+ externalValue?: string | undefined;
224
+ }> | undefined;
225
+ schema?: Record<string, any> | undefined;
226
+ }> | undefined;
227
+ required?: boolean | undefined;
228
+ example?: any;
229
+ examples?: Record<string, {
230
+ description?: string | undefined;
231
+ summary?: string | undefined;
232
+ value?: any;
233
+ externalValue?: string | undefined;
234
+ }> | undefined;
235
+ schema?: Record<string, any> | undefined;
236
+ style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
237
+ explode?: boolean | undefined;
238
+ }, {
239
+ description?: string | undefined;
240
+ deprecated?: boolean | undefined;
241
+ content?: Record<string, {
242
+ example?: any;
243
+ examples?: Record<string, {
244
+ description?: string | undefined;
245
+ summary?: string | undefined;
246
+ value?: any;
247
+ externalValue?: string | undefined;
248
+ }> | undefined;
249
+ schema?: Record<string, any> | undefined;
250
+ }> | undefined;
251
+ required?: boolean | undefined;
252
+ example?: any;
253
+ examples?: Record<string, {
254
+ description?: string | undefined;
255
+ summary?: string | undefined;
256
+ value?: any;
257
+ externalValue?: string | undefined;
258
+ }> | undefined;
259
+ schema?: Record<string, any> | undefined;
260
+ style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
261
+ explode?: boolean | undefined;
262
+ }>>>;
263
+ }, "strip", z.ZodTypeAny, {
264
+ contentType: string;
265
+ headers?: Record<string, {
266
+ description?: string | undefined;
267
+ deprecated?: boolean | undefined;
268
+ content?: Record<string, {
269
+ example?: any;
270
+ examples?: Record<string, {
271
+ description?: string | undefined;
272
+ summary?: string | undefined;
273
+ value?: any;
274
+ externalValue?: string | undefined;
275
+ }> | undefined;
276
+ schema?: Record<string, any> | undefined;
277
+ }> | undefined;
278
+ required?: boolean | undefined;
279
+ example?: any;
280
+ examples?: Record<string, {
281
+ description?: string | undefined;
282
+ summary?: string | undefined;
283
+ value?: any;
284
+ externalValue?: string | undefined;
285
+ }> | undefined;
286
+ schema?: Record<string, any> | undefined;
287
+ style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
288
+ explode?: boolean | undefined;
289
+ }> | undefined;
290
+ }, {
291
+ contentType: string;
292
+ headers?: Record<string, {
293
+ description?: string | undefined;
294
+ deprecated?: boolean | undefined;
295
+ content?: Record<string, {
296
+ example?: any;
297
+ examples?: Record<string, {
298
+ description?: string | undefined;
299
+ summary?: string | undefined;
300
+ value?: any;
301
+ externalValue?: string | undefined;
302
+ }> | undefined;
303
+ schema?: Record<string, any> | undefined;
304
+ }> | undefined;
305
+ required?: boolean | undefined;
306
+ example?: any;
307
+ examples?: Record<string, {
308
+ description?: string | undefined;
309
+ summary?: string | undefined;
310
+ value?: any;
311
+ externalValue?: string | undefined;
312
+ }> | undefined;
313
+ schema?: Record<string, any> | undefined;
314
+ style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
315
+ explode?: boolean | undefined;
316
+ }> | undefined;
317
+ }>>>;
318
+ }, "strip", z.ZodTypeAny, {
319
+ example?: any;
320
+ examples?: Record<string, {
321
+ description?: string | undefined;
322
+ summary?: string | undefined;
323
+ value?: any;
324
+ externalValue?: string | undefined;
325
+ }> | undefined;
326
+ schema?: Record<string, any> | undefined;
327
+ encoding?: Record<string, {
328
+ contentType: string;
329
+ headers?: Record<string, {
330
+ description?: string | undefined;
331
+ deprecated?: boolean | undefined;
332
+ content?: Record<string, {
333
+ example?: any;
334
+ examples?: Record<string, {
335
+ description?: string | undefined;
336
+ summary?: string | undefined;
337
+ value?: any;
338
+ externalValue?: string | undefined;
339
+ }> | undefined;
340
+ schema?: Record<string, any> | undefined;
341
+ }> | undefined;
342
+ required?: boolean | undefined;
343
+ example?: any;
344
+ examples?: Record<string, {
345
+ description?: string | undefined;
346
+ summary?: string | undefined;
347
+ value?: any;
348
+ externalValue?: string | undefined;
349
+ }> | undefined;
350
+ schema?: Record<string, any> | undefined;
351
+ style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
352
+ explode?: boolean | undefined;
353
+ }> | undefined;
354
+ }> | undefined;
355
+ }, {
356
+ example?: any;
357
+ examples?: Record<string, {
358
+ description?: string | undefined;
359
+ summary?: string | undefined;
360
+ value?: any;
361
+ externalValue?: string | undefined;
362
+ }> | undefined;
363
+ schema?: Record<string, any> | undefined;
364
+ encoding?: Record<string, {
365
+ contentType: string;
366
+ headers?: Record<string, {
367
+ description?: string | undefined;
368
+ deprecated?: boolean | undefined;
369
+ content?: Record<string, {
370
+ example?: any;
371
+ examples?: Record<string, {
372
+ description?: string | undefined;
373
+ summary?: string | undefined;
374
+ value?: any;
375
+ externalValue?: string | undefined;
376
+ }> | undefined;
377
+ schema?: Record<string, any> | undefined;
378
+ }> | undefined;
379
+ required?: boolean | undefined;
380
+ example?: any;
381
+ examples?: Record<string, {
382
+ description?: string | undefined;
383
+ summary?: string | undefined;
384
+ value?: any;
385
+ externalValue?: string | undefined;
386
+ }> | undefined;
387
+ schema?: Record<string, any> | undefined;
388
+ style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
389
+ explode?: boolean | undefined;
390
+ }> | undefined;
391
+ }> | undefined;
392
+ }>>>;
393
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
394
+ operationRef: z.ZodOptional<z.ZodString>;
395
+ operationId: z.ZodOptional<z.ZodString>;
396
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodString, string, string>>>;
397
+ requestBody: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
398
+ description: z.ZodOptional<z.ZodString>;
399
+ server: z.ZodOptional<z.ZodObject<{
400
+ url: z.ZodString;
401
+ description: z.ZodOptional<z.ZodString>;
402
+ variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
403
+ enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
404
+ default: z.ZodOptional<z.ZodString>;
405
+ description: z.ZodOptional<z.ZodString>;
406
+ }, "strip", z.ZodTypeAny, {
407
+ description?: string | undefined;
408
+ default?: string | undefined;
409
+ enum?: string[] | undefined;
410
+ }, {
411
+ description?: string | undefined;
412
+ default?: string | undefined;
413
+ enum?: string[] | undefined;
414
+ }>>>;
415
+ }, "strip", z.ZodTypeAny, {
416
+ url: string;
417
+ description?: string | undefined;
418
+ variables?: Record<string, {
419
+ description?: string | undefined;
420
+ default?: string | undefined;
421
+ enum?: string[] | undefined;
422
+ }> | undefined;
423
+ }, {
424
+ url: string;
425
+ description?: string | undefined;
426
+ variables?: Record<string, {
427
+ description?: string | undefined;
428
+ default?: string | undefined;
429
+ enum?: string[] | undefined;
430
+ }> | undefined;
431
+ }>>;
432
+ }, "strip", z.ZodTypeAny, {
433
+ description?: string | undefined;
434
+ operationId?: string | undefined;
435
+ parameters?: Record<string, string> | undefined;
436
+ requestBody?: string | undefined;
437
+ operationRef?: string | undefined;
438
+ server?: {
439
+ url: string;
440
+ description?: string | undefined;
441
+ variables?: Record<string, {
442
+ description?: string | undefined;
443
+ default?: string | undefined;
444
+ enum?: string[] | undefined;
445
+ }> | undefined;
446
+ } | undefined;
447
+ }, {
448
+ description?: string | undefined;
449
+ operationId?: string | undefined;
450
+ parameters?: Record<string, string> | undefined;
451
+ requestBody?: string | undefined;
452
+ operationRef?: string | undefined;
453
+ server?: {
454
+ url: string;
455
+ description?: string | undefined;
456
+ variables?: Record<string, {
457
+ description?: string | undefined;
458
+ default?: string | undefined;
459
+ enum?: string[] | undefined;
460
+ }> | undefined;
461
+ } | undefined;
462
+ }>>>;
463
+ }, "strip", z.ZodTypeAny, {
464
+ description: string;
465
+ content?: Record<string, {
466
+ example?: any;
467
+ examples?: Record<string, {
468
+ description?: string | undefined;
469
+ summary?: string | undefined;
470
+ value?: any;
471
+ externalValue?: string | undefined;
472
+ }> | undefined;
473
+ schema?: Record<string, any> | undefined;
474
+ encoding?: Record<string, {
475
+ contentType: string;
476
+ headers?: Record<string, {
477
+ description?: string | undefined;
478
+ deprecated?: boolean | undefined;
479
+ content?: Record<string, {
480
+ example?: any;
481
+ examples?: Record<string, {
482
+ description?: string | undefined;
483
+ summary?: string | undefined;
484
+ value?: any;
485
+ externalValue?: string | undefined;
486
+ }> | undefined;
487
+ schema?: Record<string, any> | undefined;
488
+ }> | undefined;
489
+ required?: boolean | undefined;
490
+ example?: any;
491
+ examples?: Record<string, {
492
+ description?: string | undefined;
493
+ summary?: string | undefined;
494
+ value?: any;
495
+ externalValue?: string | undefined;
496
+ }> | undefined;
497
+ schema?: Record<string, any> | undefined;
498
+ style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
499
+ explode?: boolean | undefined;
500
+ }> | undefined;
501
+ }> | undefined;
502
+ }> | undefined;
503
+ headers?: Record<string, {
504
+ description?: string | undefined;
505
+ deprecated?: boolean | undefined;
506
+ content?: Record<string, {
507
+ example?: any;
508
+ examples?: Record<string, {
509
+ description?: string | undefined;
510
+ summary?: string | undefined;
511
+ value?: any;
512
+ externalValue?: string | undefined;
513
+ }> | undefined;
514
+ schema?: Record<string, any> | undefined;
515
+ }> | undefined;
516
+ required?: boolean | undefined;
517
+ example?: any;
518
+ examples?: Record<string, {
519
+ description?: string | undefined;
520
+ summary?: string | undefined;
521
+ value?: any;
522
+ externalValue?: string | undefined;
523
+ }> | undefined;
524
+ schema?: Record<string, any> | undefined;
525
+ style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
526
+ explode?: boolean | undefined;
527
+ }> | undefined;
528
+ links?: Record<string, {
529
+ description?: string | undefined;
530
+ operationId?: string | undefined;
531
+ parameters?: Record<string, string> | undefined;
532
+ requestBody?: string | undefined;
533
+ operationRef?: string | undefined;
534
+ server?: {
535
+ url: string;
536
+ description?: string | undefined;
537
+ variables?: Record<string, {
538
+ description?: string | undefined;
539
+ default?: string | undefined;
540
+ enum?: string[] | undefined;
541
+ }> | undefined;
542
+ } | undefined;
543
+ }> | undefined;
544
+ }, {
545
+ description: string;
546
+ content?: Record<string, {
547
+ example?: any;
548
+ examples?: Record<string, {
549
+ description?: string | undefined;
550
+ summary?: string | undefined;
551
+ value?: any;
552
+ externalValue?: string | undefined;
553
+ }> | undefined;
554
+ schema?: Record<string, any> | undefined;
555
+ encoding?: Record<string, {
556
+ contentType: string;
557
+ headers?: Record<string, {
558
+ description?: string | undefined;
559
+ deprecated?: boolean | undefined;
560
+ content?: Record<string, {
561
+ example?: any;
562
+ examples?: Record<string, {
563
+ description?: string | undefined;
564
+ summary?: string | undefined;
565
+ value?: any;
566
+ externalValue?: string | undefined;
567
+ }> | undefined;
568
+ schema?: Record<string, any> | undefined;
569
+ }> | undefined;
570
+ required?: boolean | undefined;
571
+ example?: any;
572
+ examples?: Record<string, {
573
+ description?: string | undefined;
574
+ summary?: string | undefined;
575
+ value?: any;
576
+ externalValue?: string | undefined;
577
+ }> | undefined;
578
+ schema?: Record<string, any> | undefined;
579
+ style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
580
+ explode?: boolean | undefined;
581
+ }> | undefined;
582
+ }> | undefined;
583
+ }> | undefined;
584
+ headers?: Record<string, {
585
+ description?: string | undefined;
586
+ deprecated?: boolean | undefined;
587
+ content?: Record<string, {
588
+ example?: any;
589
+ examples?: Record<string, {
590
+ description?: string | undefined;
591
+ summary?: string | undefined;
592
+ value?: any;
593
+ externalValue?: string | undefined;
594
+ }> | undefined;
595
+ schema?: Record<string, any> | undefined;
596
+ }> | undefined;
597
+ required?: boolean | undefined;
598
+ example?: any;
599
+ examples?: Record<string, {
600
+ description?: string | undefined;
601
+ summary?: string | undefined;
602
+ value?: any;
603
+ externalValue?: string | undefined;
604
+ }> | undefined;
605
+ schema?: Record<string, any> | undefined;
606
+ style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
607
+ explode?: boolean | undefined;
608
+ }> | undefined;
609
+ links?: Record<string, {
610
+ description?: string | undefined;
611
+ operationId?: string | undefined;
612
+ parameters?: Record<string, string> | undefined;
613
+ requestBody?: string | undefined;
614
+ operationRef?: string | undefined;
615
+ server?: {
616
+ url: string;
617
+ description?: string | undefined;
618
+ variables?: Record<string, {
619
+ description?: string | undefined;
620
+ default?: string | undefined;
621
+ enum?: string[] | undefined;
622
+ }> | undefined;
623
+ } | undefined;
624
+ }> | undefined;
625
+ }>>;
626
+ //# sourceMappingURL=responses-object.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"responses-object.d.ts","sourceRoot":"","sources":["../../../../src/schemas/3.1/processed/responses-object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAWjC,CAAA"}
@@ -0,0 +1,31 @@
1
+ import { z } from 'zod';
2
+ import { ResponseObjectSchema } from './response-object.js';
3
+
4
+ /**
5
+ * Responses Object
6
+ *
7
+ * A container for the expected responses of an operation. The container maps a HTTP response code to the expected
8
+ * response.
9
+ *
10
+ * The documentation is not necessarily expected to cover all possible HTTP response codes because they may not be known
11
+ * in advance. However, documentation is expected to cover a successful operation response and any known errors.
12
+ * The default MAY be used as a default Response Object for all HTTP codes that are not covered individually by the
13
+ * Responses Object.
14
+ *
15
+ * The Responses Object MUST contain at least one response code, and if only one response code is provided it SHOULD be
16
+ * the response for a successful operation call.
17
+ *
18
+ * @see https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.1.md#responses-object
19
+ */
20
+ const ResponsesObjectSchema = z.record(
21
+ /**
22
+ * Response Object | Reference Object Any HTTP status code can be used as the property name, but only one property per
23
+ * code, to describe the expected response for that HTTP status code. This field MUST be enclosed in quotation marks
24
+ * (for example, "200") for compatibility between JSON and YAML. To define a range of response codes, this field MAY
25
+ * contain the uppercase wildcard character X. For example, 2XX represents all response codes between 200 and 299.
26
+ * Only the following range definitions are allowed: 1XX, 2XX, 3XX, 4XX, and 5XX. If a response is defined using an
27
+ * explicit code, the explicit code definition takes precedence over the range definition for that code.
28
+ */
29
+ z.string(), ResponseObjectSchema);
30
+
31
+ export { ResponsesObjectSchema };
@@ -0,0 +1,15 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * Runtime Expression Schema
4
+ *
5
+ * Runtime expressions allow defining values based on information that will only be available within the HTTP message in
6
+ * an actual API call. This mechanism is used by Link Objects and Callback Objects.
7
+ *
8
+ * Expressions can be:
9
+ * 1. Pure runtime expressions starting with $ (e.g. $method, $request.path.id)
10
+ * 2. Embedded expressions in strings using curly braces (e.g. "Hello {$request.body#/name}!")
11
+ *
12
+ * @see https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.1.md#runtime-expressions
13
+ */
14
+ export declare const RuntimeExpressionSchema: z.ZodEffects<z.ZodString, string, string>;
15
+ //# sourceMappingURL=runtime-expression.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"runtime-expression.d.ts","sourceRoot":"","sources":["../../../../src/schemas/3.1/processed/runtime-expression.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA2FvB;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,uBAAuB,2CAUjC,CAAA"}