@scalar/openapi-types 0.1.9 → 0.2.1

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 (249) hide show
  1. package/CHANGELOG.md +16 -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 +12 -0
  211. package/dist/schemas/extensions/index.d.ts.map +1 -0
  212. package/dist/schemas/extensions/index.js +11 -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-sdk-installation.d.ts +25 -0
  237. package/dist/schemas/extensions/x-scalar-sdk-installation.d.ts.map +1 -0
  238. package/dist/schemas/extensions/x-scalar-sdk-installation.js +15 -0
  239. package/dist/schemas/extensions/x-scalar-stability.d.ts +23 -0
  240. package/dist/schemas/extensions/x-scalar-stability.d.ts.map +1 -0
  241. package/dist/schemas/extensions/x-scalar-stability.js +23 -0
  242. package/dist/schemas/extensions/x-tag-groups.d.ts +39 -0
  243. package/dist/schemas/extensions/x-tag-groups.d.ts.map +1 -0
  244. package/dist/schemas/extensions/x-tag-groups.js +20 -0
  245. package/dist/schemas/extensions/x-use-pkce.d.ts +14 -0
  246. package/dist/schemas/extensions/x-use-pkce.d.ts.map +1 -0
  247. package/dist/schemas/extensions/x-use-pkce.js +12 -0
  248. package/package.json +20 -2
  249. package/LICENSE +0 -21
@@ -0,0 +1,603 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * Base Path Item Object Schema
4
+ *
5
+ * This helps break circular dependencies between path-item-object and callback-object
6
+ *
7
+ * @see https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.1.md#path-item-object
8
+ */
9
+ export declare const BasePathItemObjectSchema: z.ZodObject<{
10
+ /**
11
+ * An optional, string summary, intended to apply to all operations in this path.
12
+ */
13
+ summary: z.ZodOptional<z.ZodString>;
14
+ /**
15
+ * An optional, string description, intended to apply to all operations in this path. CommonMark syntax MAY be used
16
+ * for rich text representation.
17
+ */
18
+ description: z.ZodOptional<z.ZodString>;
19
+ /**
20
+ * An alternative server array to service all operations in this path.
21
+ */
22
+ servers: z.ZodOptional<z.ZodArray<z.ZodObject<{
23
+ url: z.ZodString;
24
+ description: z.ZodOptional<z.ZodString>;
25
+ variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
26
+ enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
27
+ default: z.ZodOptional<z.ZodString>;
28
+ description: z.ZodOptional<z.ZodString>;
29
+ }, "strip", z.ZodTypeAny, {
30
+ description?: string | undefined;
31
+ default?: string | undefined;
32
+ enum?: string[] | undefined;
33
+ }, {
34
+ description?: string | undefined;
35
+ default?: string | undefined;
36
+ enum?: string[] | undefined;
37
+ }>>>;
38
+ }, "strip", z.ZodTypeAny, {
39
+ url: string;
40
+ description?: string | undefined;
41
+ variables?: Record<string, {
42
+ description?: string | undefined;
43
+ default?: string | undefined;
44
+ enum?: string[] | undefined;
45
+ }> | undefined;
46
+ }, {
47
+ url: string;
48
+ description?: string | undefined;
49
+ variables?: Record<string, {
50
+ description?: string | undefined;
51
+ default?: string | undefined;
52
+ enum?: string[] | undefined;
53
+ }> | undefined;
54
+ }>, "many">>;
55
+ /**
56
+ * A list of parameters that are applicable for all the operations described under this path. These parameters can be
57
+ * overridden at the operation level, but cannot be removed there. The list MUST NOT include duplicated parameters. A
58
+ * unique parameter is defined by a combination of a name and location. The list can use the Reference Object to link
59
+ * to parameters that are defined at the OpenAPI Object's components/parameters.
60
+ */
61
+ parameters: z.ZodOptional<z.ZodArray<z.ZodObject<{
62
+ name: z.ZodString;
63
+ in: z.ZodEnum<["query", "header", "path", "cookie"]>;
64
+ description: z.ZodOptional<z.ZodString>;
65
+ required: z.ZodOptional<z.ZodBoolean>;
66
+ deprecated: z.ZodOptional<z.ZodBoolean>;
67
+ allowEmptyValue: z.ZodOptional<z.ZodBoolean>;
68
+ style: z.ZodOptional<z.ZodEnum<["matrix", "label", "form", "simple", "spaceDelimited", "pipeDelimited", "deepObject"]>>;
69
+ explode: z.ZodOptional<z.ZodBoolean>;
70
+ allowReserved: z.ZodOptional<z.ZodBoolean>;
71
+ schema: z.ZodOptional<z.ZodType<Record<string, any>, z.ZodTypeDef, Record<string, any>>>;
72
+ example: z.ZodOptional<z.ZodAny>;
73
+ examples: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
74
+ summary: z.ZodOptional<z.ZodString>;
75
+ description: z.ZodOptional<z.ZodString>;
76
+ value: z.ZodOptional<z.ZodAny>;
77
+ externalValue: z.ZodOptional<z.ZodString>;
78
+ }, "strip", z.ZodTypeAny, {
79
+ description?: string | undefined;
80
+ summary?: string | undefined;
81
+ value?: any;
82
+ externalValue?: string | undefined;
83
+ }, {
84
+ description?: string | undefined;
85
+ summary?: string | undefined;
86
+ value?: any;
87
+ externalValue?: string | undefined;
88
+ }>>>;
89
+ content: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
90
+ schema: z.ZodOptional<z.ZodType<Record<string, any>, z.ZodTypeDef, Record<string, any>>>;
91
+ example: z.ZodOptional<z.ZodAny>;
92
+ examples: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
93
+ summary: z.ZodOptional<z.ZodString>;
94
+ description: z.ZodOptional<z.ZodString>;
95
+ value: z.ZodOptional<z.ZodAny>;
96
+ externalValue: z.ZodOptional<z.ZodString>;
97
+ }, "strip", z.ZodTypeAny, {
98
+ description?: string | undefined;
99
+ summary?: string | undefined;
100
+ value?: any;
101
+ externalValue?: string | undefined;
102
+ }, {
103
+ description?: string | undefined;
104
+ summary?: string | undefined;
105
+ value?: any;
106
+ externalValue?: string | undefined;
107
+ }>>>;
108
+ encoding: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
109
+ contentType: z.ZodString;
110
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
111
+ description: z.ZodOptional<z.ZodString>;
112
+ required: z.ZodOptional<z.ZodBoolean>;
113
+ deprecated: z.ZodOptional<z.ZodBoolean>;
114
+ style: z.ZodOptional<z.ZodEnum<["matrix", "label", "simple", "form", "spaceDelimited", "pipeDelimited", "deepObject"]>>;
115
+ explode: z.ZodOptional<z.ZodBoolean>;
116
+ schema: z.ZodOptional<z.ZodType<Record<string, any>, z.ZodTypeDef, Record<string, any>>>;
117
+ example: z.ZodOptional<z.ZodAny>;
118
+ examples: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
119
+ summary: z.ZodOptional<z.ZodString>;
120
+ description: z.ZodOptional<z.ZodString>;
121
+ value: z.ZodOptional<z.ZodAny>;
122
+ externalValue: z.ZodOptional<z.ZodString>;
123
+ }, "strip", z.ZodTypeAny, {
124
+ description?: string | undefined;
125
+ summary?: string | undefined;
126
+ value?: any;
127
+ externalValue?: string | undefined;
128
+ }, {
129
+ description?: string | undefined;
130
+ summary?: string | undefined;
131
+ value?: any;
132
+ externalValue?: string | undefined;
133
+ }>>>;
134
+ content: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
135
+ schema: z.ZodOptional<z.ZodType<Record<string, any>, z.ZodTypeDef, Record<string, any>>>;
136
+ example: z.ZodOptional<z.ZodAny>;
137
+ examples: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
138
+ summary: z.ZodOptional<z.ZodString>;
139
+ description: z.ZodOptional<z.ZodString>;
140
+ value: z.ZodOptional<z.ZodAny>;
141
+ externalValue: z.ZodOptional<z.ZodString>;
142
+ }, "strip", z.ZodTypeAny, {
143
+ description?: string | undefined;
144
+ summary?: string | undefined;
145
+ value?: any;
146
+ externalValue?: string | undefined;
147
+ }, {
148
+ description?: string | undefined;
149
+ summary?: string | undefined;
150
+ value?: any;
151
+ externalValue?: string | undefined;
152
+ }>>>;
153
+ }, "strip", z.ZodTypeAny, {
154
+ example?: any;
155
+ examples?: Record<string, {
156
+ description?: string | undefined;
157
+ summary?: string | undefined;
158
+ value?: any;
159
+ externalValue?: string | undefined;
160
+ }> | undefined;
161
+ schema?: Record<string, any> | undefined;
162
+ }, {
163
+ example?: any;
164
+ examples?: Record<string, {
165
+ description?: string | undefined;
166
+ summary?: string | undefined;
167
+ value?: any;
168
+ externalValue?: string | undefined;
169
+ }> | undefined;
170
+ schema?: Record<string, any> | undefined;
171
+ }>>>;
172
+ }, "strip", z.ZodTypeAny, {
173
+ description?: string | undefined;
174
+ deprecated?: boolean | undefined;
175
+ content?: Record<string, {
176
+ example?: any;
177
+ examples?: Record<string, {
178
+ description?: string | undefined;
179
+ summary?: string | undefined;
180
+ value?: any;
181
+ externalValue?: string | undefined;
182
+ }> | undefined;
183
+ schema?: Record<string, any> | undefined;
184
+ }> | undefined;
185
+ required?: boolean | undefined;
186
+ example?: any;
187
+ examples?: Record<string, {
188
+ description?: string | undefined;
189
+ summary?: string | undefined;
190
+ value?: any;
191
+ externalValue?: string | undefined;
192
+ }> | undefined;
193
+ schema?: Record<string, any> | undefined;
194
+ style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
195
+ explode?: boolean | undefined;
196
+ }, {
197
+ description?: string | undefined;
198
+ deprecated?: boolean | undefined;
199
+ content?: Record<string, {
200
+ example?: any;
201
+ examples?: Record<string, {
202
+ description?: string | undefined;
203
+ summary?: string | undefined;
204
+ value?: any;
205
+ externalValue?: string | undefined;
206
+ }> | undefined;
207
+ schema?: Record<string, any> | undefined;
208
+ }> | undefined;
209
+ required?: boolean | undefined;
210
+ example?: any;
211
+ examples?: Record<string, {
212
+ description?: string | undefined;
213
+ summary?: string | undefined;
214
+ value?: any;
215
+ externalValue?: string | undefined;
216
+ }> | undefined;
217
+ schema?: Record<string, any> | undefined;
218
+ style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
219
+ explode?: boolean | undefined;
220
+ }>>>;
221
+ }, "strip", z.ZodTypeAny, {
222
+ contentType: string;
223
+ headers?: Record<string, {
224
+ description?: string | undefined;
225
+ deprecated?: boolean | undefined;
226
+ content?: Record<string, {
227
+ example?: any;
228
+ examples?: Record<string, {
229
+ description?: string | undefined;
230
+ summary?: string | undefined;
231
+ value?: any;
232
+ externalValue?: string | undefined;
233
+ }> | undefined;
234
+ schema?: Record<string, any> | undefined;
235
+ }> | undefined;
236
+ required?: boolean | undefined;
237
+ example?: any;
238
+ examples?: Record<string, {
239
+ description?: string | undefined;
240
+ summary?: string | undefined;
241
+ value?: any;
242
+ externalValue?: string | undefined;
243
+ }> | undefined;
244
+ schema?: Record<string, any> | undefined;
245
+ style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
246
+ explode?: boolean | undefined;
247
+ }> | undefined;
248
+ }, {
249
+ contentType: string;
250
+ headers?: Record<string, {
251
+ description?: string | undefined;
252
+ deprecated?: boolean | undefined;
253
+ content?: Record<string, {
254
+ example?: any;
255
+ examples?: Record<string, {
256
+ description?: string | undefined;
257
+ summary?: string | undefined;
258
+ value?: any;
259
+ externalValue?: string | undefined;
260
+ }> | undefined;
261
+ schema?: Record<string, any> | undefined;
262
+ }> | undefined;
263
+ required?: boolean | undefined;
264
+ example?: any;
265
+ examples?: Record<string, {
266
+ description?: string | undefined;
267
+ summary?: string | undefined;
268
+ value?: any;
269
+ externalValue?: string | undefined;
270
+ }> | undefined;
271
+ schema?: Record<string, any> | undefined;
272
+ style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
273
+ explode?: boolean | undefined;
274
+ }> | undefined;
275
+ }>>>;
276
+ }, "strip", z.ZodTypeAny, {
277
+ example?: any;
278
+ examples?: Record<string, {
279
+ description?: string | undefined;
280
+ summary?: string | undefined;
281
+ value?: any;
282
+ externalValue?: string | undefined;
283
+ }> | undefined;
284
+ schema?: Record<string, any> | undefined;
285
+ encoding?: Record<string, {
286
+ contentType: string;
287
+ headers?: Record<string, {
288
+ description?: string | undefined;
289
+ deprecated?: boolean | undefined;
290
+ content?: Record<string, {
291
+ example?: any;
292
+ examples?: Record<string, {
293
+ description?: string | undefined;
294
+ summary?: string | undefined;
295
+ value?: any;
296
+ externalValue?: string | undefined;
297
+ }> | undefined;
298
+ schema?: Record<string, any> | undefined;
299
+ }> | undefined;
300
+ required?: boolean | undefined;
301
+ example?: any;
302
+ examples?: Record<string, {
303
+ description?: string | undefined;
304
+ summary?: string | undefined;
305
+ value?: any;
306
+ externalValue?: string | undefined;
307
+ }> | undefined;
308
+ schema?: Record<string, any> | undefined;
309
+ style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
310
+ explode?: boolean | undefined;
311
+ }> | undefined;
312
+ }> | undefined;
313
+ }, {
314
+ example?: any;
315
+ examples?: Record<string, {
316
+ description?: string | undefined;
317
+ summary?: string | undefined;
318
+ value?: any;
319
+ externalValue?: string | undefined;
320
+ }> | undefined;
321
+ schema?: Record<string, any> | undefined;
322
+ encoding?: Record<string, {
323
+ contentType: string;
324
+ headers?: Record<string, {
325
+ description?: string | undefined;
326
+ deprecated?: boolean | undefined;
327
+ content?: Record<string, {
328
+ example?: any;
329
+ examples?: Record<string, {
330
+ description?: string | undefined;
331
+ summary?: string | undefined;
332
+ value?: any;
333
+ externalValue?: string | undefined;
334
+ }> | undefined;
335
+ schema?: Record<string, any> | undefined;
336
+ }> | undefined;
337
+ required?: boolean | undefined;
338
+ example?: any;
339
+ examples?: Record<string, {
340
+ description?: string | undefined;
341
+ summary?: string | undefined;
342
+ value?: any;
343
+ externalValue?: string | undefined;
344
+ }> | undefined;
345
+ schema?: Record<string, any> | undefined;
346
+ style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
347
+ explode?: boolean | undefined;
348
+ }> | undefined;
349
+ }> | undefined;
350
+ }>>>;
351
+ }, "strip", z.ZodTypeAny, {
352
+ name: string;
353
+ in: "path" | "query" | "header" | "cookie";
354
+ description?: string | undefined;
355
+ deprecated?: boolean | undefined;
356
+ content?: Record<string, {
357
+ example?: any;
358
+ examples?: Record<string, {
359
+ description?: string | undefined;
360
+ summary?: string | undefined;
361
+ value?: any;
362
+ externalValue?: string | undefined;
363
+ }> | undefined;
364
+ schema?: Record<string, any> | undefined;
365
+ encoding?: Record<string, {
366
+ contentType: string;
367
+ headers?: Record<string, {
368
+ description?: string | undefined;
369
+ deprecated?: boolean | undefined;
370
+ content?: Record<string, {
371
+ example?: any;
372
+ examples?: Record<string, {
373
+ description?: string | undefined;
374
+ summary?: string | undefined;
375
+ value?: any;
376
+ externalValue?: string | undefined;
377
+ }> | undefined;
378
+ schema?: Record<string, any> | undefined;
379
+ }> | undefined;
380
+ required?: boolean | undefined;
381
+ example?: any;
382
+ examples?: Record<string, {
383
+ description?: string | undefined;
384
+ summary?: string | undefined;
385
+ value?: any;
386
+ externalValue?: string | undefined;
387
+ }> | undefined;
388
+ schema?: Record<string, any> | undefined;
389
+ style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
390
+ explode?: boolean | undefined;
391
+ }> | undefined;
392
+ }> | undefined;
393
+ }> | undefined;
394
+ required?: boolean | undefined;
395
+ example?: any;
396
+ examples?: Record<string, {
397
+ description?: string | undefined;
398
+ summary?: string | undefined;
399
+ value?: any;
400
+ externalValue?: string | undefined;
401
+ }> | undefined;
402
+ schema?: Record<string, any> | undefined;
403
+ style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
404
+ explode?: boolean | undefined;
405
+ allowEmptyValue?: boolean | undefined;
406
+ allowReserved?: boolean | undefined;
407
+ }, {
408
+ name: string;
409
+ in: "path" | "query" | "header" | "cookie";
410
+ description?: string | undefined;
411
+ deprecated?: boolean | undefined;
412
+ content?: Record<string, {
413
+ example?: any;
414
+ examples?: Record<string, {
415
+ description?: string | undefined;
416
+ summary?: string | undefined;
417
+ value?: any;
418
+ externalValue?: string | undefined;
419
+ }> | undefined;
420
+ schema?: Record<string, any> | undefined;
421
+ encoding?: Record<string, {
422
+ contentType: string;
423
+ headers?: Record<string, {
424
+ description?: string | undefined;
425
+ deprecated?: boolean | undefined;
426
+ content?: Record<string, {
427
+ example?: any;
428
+ examples?: Record<string, {
429
+ description?: string | undefined;
430
+ summary?: string | undefined;
431
+ value?: any;
432
+ externalValue?: string | undefined;
433
+ }> | undefined;
434
+ schema?: Record<string, any> | undefined;
435
+ }> | undefined;
436
+ required?: boolean | undefined;
437
+ example?: any;
438
+ examples?: Record<string, {
439
+ description?: string | undefined;
440
+ summary?: string | undefined;
441
+ value?: any;
442
+ externalValue?: string | undefined;
443
+ }> | undefined;
444
+ schema?: Record<string, any> | undefined;
445
+ style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
446
+ explode?: boolean | undefined;
447
+ }> | undefined;
448
+ }> | undefined;
449
+ }> | undefined;
450
+ required?: boolean | undefined;
451
+ example?: any;
452
+ examples?: Record<string, {
453
+ description?: string | undefined;
454
+ summary?: string | undefined;
455
+ value?: any;
456
+ externalValue?: string | undefined;
457
+ }> | undefined;
458
+ schema?: Record<string, any> | undefined;
459
+ style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
460
+ explode?: boolean | undefined;
461
+ allowEmptyValue?: boolean | undefined;
462
+ allowReserved?: boolean | undefined;
463
+ }>, "many">>;
464
+ }, "strip", z.ZodTypeAny, {
465
+ servers?: {
466
+ url: string;
467
+ description?: string | undefined;
468
+ variables?: Record<string, {
469
+ description?: string | undefined;
470
+ default?: string | undefined;
471
+ enum?: string[] | undefined;
472
+ }> | undefined;
473
+ }[] | undefined;
474
+ description?: string | undefined;
475
+ summary?: string | undefined;
476
+ parameters?: {
477
+ name: string;
478
+ in: "path" | "query" | "header" | "cookie";
479
+ description?: string | undefined;
480
+ deprecated?: boolean | undefined;
481
+ content?: Record<string, {
482
+ example?: any;
483
+ examples?: Record<string, {
484
+ description?: string | undefined;
485
+ summary?: string | undefined;
486
+ value?: any;
487
+ externalValue?: string | undefined;
488
+ }> | undefined;
489
+ schema?: Record<string, any> | undefined;
490
+ encoding?: Record<string, {
491
+ contentType: string;
492
+ headers?: Record<string, {
493
+ description?: string | undefined;
494
+ deprecated?: boolean | undefined;
495
+ content?: Record<string, {
496
+ example?: any;
497
+ examples?: Record<string, {
498
+ description?: string | undefined;
499
+ summary?: string | undefined;
500
+ value?: any;
501
+ externalValue?: string | undefined;
502
+ }> | undefined;
503
+ schema?: Record<string, any> | undefined;
504
+ }> | undefined;
505
+ required?: boolean | undefined;
506
+ example?: any;
507
+ examples?: Record<string, {
508
+ description?: string | undefined;
509
+ summary?: string | undefined;
510
+ value?: any;
511
+ externalValue?: string | undefined;
512
+ }> | undefined;
513
+ schema?: Record<string, any> | undefined;
514
+ style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
515
+ explode?: boolean | undefined;
516
+ }> | undefined;
517
+ }> | undefined;
518
+ }> | undefined;
519
+ required?: boolean | undefined;
520
+ example?: any;
521
+ examples?: Record<string, {
522
+ description?: string | undefined;
523
+ summary?: string | undefined;
524
+ value?: any;
525
+ externalValue?: string | undefined;
526
+ }> | undefined;
527
+ schema?: Record<string, any> | undefined;
528
+ style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
529
+ explode?: boolean | undefined;
530
+ allowEmptyValue?: boolean | undefined;
531
+ allowReserved?: boolean | undefined;
532
+ }[] | undefined;
533
+ }, {
534
+ servers?: {
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
+ description?: string | undefined;
544
+ summary?: string | undefined;
545
+ parameters?: {
546
+ name: string;
547
+ in: "path" | "query" | "header" | "cookie";
548
+ description?: string | undefined;
549
+ deprecated?: boolean | undefined;
550
+ content?: Record<string, {
551
+ example?: any;
552
+ examples?: Record<string, {
553
+ description?: string | undefined;
554
+ summary?: string | undefined;
555
+ value?: any;
556
+ externalValue?: string | undefined;
557
+ }> | undefined;
558
+ schema?: Record<string, any> | undefined;
559
+ encoding?: Record<string, {
560
+ contentType: string;
561
+ headers?: Record<string, {
562
+ description?: string | undefined;
563
+ deprecated?: boolean | undefined;
564
+ content?: Record<string, {
565
+ example?: any;
566
+ examples?: Record<string, {
567
+ description?: string | undefined;
568
+ summary?: string | undefined;
569
+ value?: any;
570
+ externalValue?: string | undefined;
571
+ }> | undefined;
572
+ schema?: Record<string, any> | undefined;
573
+ }> | undefined;
574
+ required?: boolean | undefined;
575
+ example?: any;
576
+ examples?: Record<string, {
577
+ description?: string | undefined;
578
+ summary?: string | undefined;
579
+ value?: any;
580
+ externalValue?: string | undefined;
581
+ }> | undefined;
582
+ schema?: Record<string, any> | undefined;
583
+ style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
584
+ explode?: boolean | undefined;
585
+ }> | undefined;
586
+ }> | undefined;
587
+ }> | undefined;
588
+ required?: boolean | undefined;
589
+ example?: any;
590
+ examples?: Record<string, {
591
+ description?: string | undefined;
592
+ summary?: string | undefined;
593
+ value?: any;
594
+ externalValue?: string | undefined;
595
+ }> | undefined;
596
+ schema?: Record<string, any> | undefined;
597
+ style?: "matrix" | "label" | "simple" | "form" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
598
+ explode?: boolean | undefined;
599
+ allowEmptyValue?: boolean | undefined;
600
+ allowReserved?: boolean | undefined;
601
+ }[] | undefined;
602
+ }>;
603
+ //# sourceMappingURL=base-path-item-object.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base-path-item-object.d.ts","sourceRoot":"","sources":["../../../../src/schemas/3.1/processed/base-path-item-object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAIvB;;;;;;GAMG;AACH,eAAO,MAAM,wBAAwB;IACnC;;OAEG;;IAEH;;;OAGG;;IAEH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEH;;;;;OAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEH,CAAA"}
@@ -0,0 +1,35 @@
1
+ import { z } from 'zod';
2
+ import { ParameterObjectSchema } from './parameter-object.js';
3
+ import { ServerObjectSchema } from './server-object.js';
4
+
5
+ /**
6
+ * Base Path Item Object Schema
7
+ *
8
+ * This helps break circular dependencies between path-item-object and callback-object
9
+ *
10
+ * @see https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.1.md#path-item-object
11
+ */
12
+ const BasePathItemObjectSchema = z.object({
13
+ /**
14
+ * An optional, string summary, intended to apply to all operations in this path.
15
+ */
16
+ summary: z.string().optional(),
17
+ /**
18
+ * An optional, string description, intended to apply to all operations in this path. CommonMark syntax MAY be used
19
+ * for rich text representation.
20
+ */
21
+ description: z.string().optional(),
22
+ /**
23
+ * An alternative server array to service all operations in this path.
24
+ */
25
+ servers: z.array(ServerObjectSchema).optional(),
26
+ /**
27
+ * A list of parameters that are applicable for all the operations described under this path. These parameters can be
28
+ * overridden at the operation level, but cannot be removed there. The list MUST NOT include duplicated parameters. A
29
+ * unique parameter is defined by a combination of a name and location. The list can use the Reference Object to link
30
+ * to parameters that are defined at the OpenAPI Object's components/parameters.
31
+ */
32
+ parameters: z.array(ParameterObjectSchema).optional(),
33
+ });
34
+
35
+ export { BasePathItemObjectSchema };