@scalar/workspace-store 0.3.1 → 0.4.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 (256) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/dist/client.d.ts +57 -30900
  3. package/dist/client.d.ts.map +1 -1
  4. package/dist/client.js +39 -23
  5. package/dist/client.js.map +2 -2
  6. package/dist/navigation/helpers/get-tag.d.ts +13 -0
  7. package/dist/navigation/helpers/get-tag.d.ts.map +1 -0
  8. package/dist/navigation/helpers/get-tag.js +10 -0
  9. package/dist/navigation/helpers/get-tag.js.map +7 -0
  10. package/dist/navigation/helpers/traverse-description.d.ts +19 -0
  11. package/dist/navigation/helpers/traverse-description.d.ts.map +1 -0
  12. package/dist/navigation/helpers/traverse-description.js +50 -0
  13. package/dist/navigation/helpers/traverse-description.js.map +7 -0
  14. package/dist/navigation/helpers/traverse-document.d.ts +16 -0
  15. package/dist/navigation/helpers/traverse-document.d.ts.map +1 -0
  16. package/dist/navigation/helpers/traverse-document.js +53 -0
  17. package/dist/navigation/helpers/traverse-document.js.map +7 -0
  18. package/dist/navigation/helpers/traverse-paths.d.ts +21 -0
  19. package/dist/navigation/helpers/traverse-paths.d.ts.map +1 -0
  20. package/dist/navigation/helpers/traverse-paths.js +39 -0
  21. package/dist/navigation/helpers/traverse-paths.js.map +7 -0
  22. package/dist/navigation/helpers/traverse-schemas.d.ts +16 -0
  23. package/dist/navigation/helpers/traverse-schemas.d.ts.map +1 -0
  24. package/dist/navigation/helpers/traverse-schemas.js +35 -0
  25. package/dist/navigation/helpers/traverse-schemas.js.map +7 -0
  26. package/dist/navigation/helpers/traverse-tags.d.ts +15 -0
  27. package/dist/navigation/helpers/traverse-tags.d.ts.map +1 -0
  28. package/dist/navigation/helpers/traverse-tags.js +77 -0
  29. package/dist/navigation/helpers/traverse-tags.js.map +7 -0
  30. package/dist/navigation/helpers/traverse-webhooks.d.ts +19 -0
  31. package/dist/navigation/helpers/traverse-webhooks.d.ts.map +1 -0
  32. package/dist/navigation/helpers/traverse-webhooks.js +40 -0
  33. package/dist/navigation/helpers/traverse-webhooks.js.map +7 -0
  34. package/dist/navigation/helpers/utils.d.ts +39 -0
  35. package/dist/navigation/helpers/utils.d.ts.map +1 -0
  36. package/dist/navigation/helpers/utils.js +25 -0
  37. package/dist/navigation/helpers/utils.js.map +7 -0
  38. package/dist/navigation/index.d.ts +3 -0
  39. package/dist/navigation/index.d.ts.map +1 -0
  40. package/dist/navigation/index.js +5 -0
  41. package/dist/navigation/index.js.map +7 -0
  42. package/dist/navigation/types.d.ts +94 -0
  43. package/dist/navigation/types.d.ts.map +1 -0
  44. package/dist/navigation/types.js +1 -0
  45. package/dist/navigation/types.js.map +7 -0
  46. package/dist/schemas/extensions.d.ts +14 -0
  47. package/dist/schemas/extensions.d.ts.map +1 -0
  48. package/dist/schemas/extensions.js +17 -0
  49. package/dist/schemas/extensions.js.map +7 -0
  50. package/dist/schemas/{callback.d.ts.map → openapi-v3/callback.d.ts.map} +1 -1
  51. package/dist/schemas/{callback.js.map → openapi-v3/callback.js.map} +1 -1
  52. package/dist/schemas/{components.d.ts.map → openapi-v3/components.d.ts.map} +1 -1
  53. package/dist/schemas/{components.js.map → openapi-v3/components.js.map} +1 -1
  54. package/dist/schemas/openapi-v3/contact.d.ts.map +1 -0
  55. package/dist/schemas/{contact.js.map → openapi-v3/contact.js.map} +1 -1
  56. package/dist/schemas/openapi-v3/discriminator.d.ts.map +1 -0
  57. package/dist/schemas/{discriminator.js.map → openapi-v3/discriminator.js.map} +1 -1
  58. package/dist/schemas/openapi-v3/encoding.d.ts.map +1 -0
  59. package/dist/schemas/{encoding.js.map → openapi-v3/encoding.js.map} +1 -1
  60. package/dist/schemas/openapi-v3/example.d.ts.map +1 -0
  61. package/dist/schemas/{example.js.map → openapi-v3/example.js.map} +1 -1
  62. package/dist/schemas/openapi-v3/external-documentation.d.ts.map +1 -0
  63. package/dist/schemas/{external-documentation.js.map → openapi-v3/external-documentation.js.map} +1 -1
  64. package/dist/schemas/openapi-v3/header.d.ts.map +1 -0
  65. package/dist/schemas/{header.js.map → openapi-v3/header.js.map} +1 -1
  66. package/dist/schemas/openapi-v3/info.d.ts.map +1 -0
  67. package/dist/schemas/{info.js.map → openapi-v3/info.js.map} +1 -1
  68. package/dist/schemas/openapi-v3/license.d.ts.map +1 -0
  69. package/dist/schemas/{license.js.map → openapi-v3/license.js.map} +1 -1
  70. package/dist/schemas/openapi-v3/link.d.ts.map +1 -0
  71. package/dist/schemas/{link.js.map → openapi-v3/link.js.map} +1 -1
  72. package/dist/schemas/openapi-v3/media-type.d.ts.map +1 -0
  73. package/dist/schemas/{media-type.js.map → openapi-v3/media-type.js.map} +1 -1
  74. package/dist/schemas/openapi-v3/oauth-flow.d.ts.map +1 -0
  75. package/dist/schemas/{oauth-flow.js.map → openapi-v3/oauth-flow.js.map} +1 -1
  76. package/dist/schemas/openapi-v3/oauthflows.d.ts.map +1 -0
  77. package/dist/schemas/{oauthflows.js.map → openapi-v3/oauthflows.js.map} +1 -1
  78. package/dist/schemas/{openapi-document.d.ts.map → openapi-v3/openapi-document.d.ts.map} +1 -1
  79. package/dist/schemas/{openapi-document.js.map → openapi-v3/openapi-document.js.map} +1 -1
  80. package/dist/schemas/openapi-v3/operation-without-callback.d.ts.map +1 -0
  81. package/dist/schemas/{operation-without-callback.js.map → openapi-v3/operation-without-callback.js.map} +1 -1
  82. package/dist/schemas/openapi-v3/parameter.d.ts.map +1 -0
  83. package/dist/schemas/{parameter.js.map → openapi-v3/parameter.js.map} +1 -1
  84. package/dist/schemas/{path-item.d.ts.map → openapi-v3/path-item.d.ts.map} +1 -1
  85. package/dist/schemas/{path-item.js.map → openapi-v3/path-item.js.map} +1 -1
  86. package/dist/schemas/{paths.d.ts.map → openapi-v3/paths.d.ts.map} +1 -1
  87. package/dist/schemas/{paths.js.map → openapi-v3/paths.js.map} +1 -1
  88. package/dist/schemas/openapi-v3/reference.d.ts.map +1 -0
  89. package/dist/schemas/{reference.js.map → openapi-v3/reference.js.map} +1 -1
  90. package/dist/schemas/openapi-v3/request-body.d.ts.map +1 -0
  91. package/dist/schemas/{request-body.js.map → openapi-v3/request-body.js.map} +1 -1
  92. package/dist/schemas/openapi-v3/response.d.ts.map +1 -0
  93. package/dist/schemas/{response.js.map → openapi-v3/response.js.map} +1 -1
  94. package/dist/schemas/openapi-v3/responses.d.ts.map +1 -0
  95. package/dist/schemas/{responses.js.map → openapi-v3/responses.js.map} +1 -1
  96. package/dist/schemas/openapi-v3/schema.d.ts.map +1 -0
  97. package/dist/schemas/{schema.js.map → openapi-v3/schema.js.map} +1 -1
  98. package/dist/schemas/openapi-v3/security-requirement.d.ts.map +1 -0
  99. package/dist/schemas/{security-requirement.js.map → openapi-v3/security-requirement.js.map} +1 -1
  100. package/dist/schemas/openapi-v3/security-scheme.d.ts.map +1 -0
  101. package/dist/schemas/{security-scheme.js.map → openapi-v3/security-scheme.js.map} +1 -1
  102. package/dist/schemas/openapi-v3/server-variable.d.ts.map +1 -0
  103. package/dist/schemas/{server-variable.js.map → openapi-v3/server-variable.js.map} +1 -1
  104. package/dist/schemas/openapi-v3/server.d.ts.map +1 -0
  105. package/dist/schemas/{server.js.map → openapi-v3/server.js.map} +1 -1
  106. package/dist/schemas/openapi-v3/tag.d.ts.map +1 -0
  107. package/dist/schemas/{tag.js.map → openapi-v3/tag.js.map} +1 -1
  108. package/dist/schemas/openapi-v3/xml.d.ts.map +1 -0
  109. package/dist/schemas/{xml.js.map → openapi-v3/xml.js.map} +1 -1
  110. package/dist/schemas/{server-workspace.d.ts → workspace.d.ts} +20 -19
  111. package/dist/schemas/{server-workspace.d.ts.map → workspace.d.ts.map} +1 -1
  112. package/dist/schemas/workspace.js +31 -0
  113. package/dist/schemas/workspace.js.map +7 -0
  114. package/dist/schemas.d.ts +1 -1
  115. package/dist/schemas.d.ts.map +1 -1
  116. package/dist/schemas.js +1 -1
  117. package/dist/schemas.js.map +1 -1
  118. package/dist/server.d.ts +14 -16
  119. package/dist/server.d.ts.map +1 -1
  120. package/dist/server.js +12 -2
  121. package/dist/server.js.map +2 -2
  122. package/package.json +11 -4
  123. package/.turbo/turbo-build.log +0 -13
  124. package/dist/schemas/contact.d.ts.map +0 -1
  125. package/dist/schemas/discriminator.d.ts.map +0 -1
  126. package/dist/schemas/encoding.d.ts.map +0 -1
  127. package/dist/schemas/example.d.ts.map +0 -1
  128. package/dist/schemas/external-documentation.d.ts.map +0 -1
  129. package/dist/schemas/header.d.ts.map +0 -1
  130. package/dist/schemas/info.d.ts.map +0 -1
  131. package/dist/schemas/license.d.ts.map +0 -1
  132. package/dist/schemas/link.d.ts.map +0 -1
  133. package/dist/schemas/media-type.d.ts.map +0 -1
  134. package/dist/schemas/oauth-flow.d.ts.map +0 -1
  135. package/dist/schemas/oauthflows.d.ts.map +0 -1
  136. package/dist/schemas/operation-without-callback.d.ts.map +0 -1
  137. package/dist/schemas/parameter.d.ts.map +0 -1
  138. package/dist/schemas/reference.d.ts.map +0 -1
  139. package/dist/schemas/request-body.d.ts.map +0 -1
  140. package/dist/schemas/response.d.ts.map +0 -1
  141. package/dist/schemas/responses.d.ts.map +0 -1
  142. package/dist/schemas/schema.d.ts.map +0 -1
  143. package/dist/schemas/security-requirement.d.ts.map +0 -1
  144. package/dist/schemas/security-scheme.d.ts.map +0 -1
  145. package/dist/schemas/server-variable.d.ts.map +0 -1
  146. package/dist/schemas/server-workspace.js +0 -29
  147. package/dist/schemas/server-workspace.js.map +0 -7
  148. package/dist/schemas/server.d.ts.map +0 -1
  149. package/dist/schemas/tag.d.ts.map +0 -1
  150. package/dist/schemas/xml.d.ts.map +0 -1
  151. package/esbuild.ts +0 -8
  152. package/src/client.test.ts +0 -409
  153. package/src/client.ts +0 -254
  154. package/src/helpers/general.ts +0 -30
  155. package/src/helpers/json-path-utils.test.ts +0 -13
  156. package/src/helpers/json-path-utils.ts +0 -38
  157. package/src/helpers/proxy.test.ts +0 -61
  158. package/src/helpers/proxy.ts +0 -213
  159. package/src/schemas/callback.ts +0 -13
  160. package/src/schemas/components.ts +0 -36
  161. package/src/schemas/contact.ts +0 -11
  162. package/src/schemas/discriminator.ts +0 -13
  163. package/src/schemas/encoding.ts +0 -17
  164. package/src/schemas/example.ts +0 -17
  165. package/src/schemas/external-documentation.ts +0 -9
  166. package/src/schemas/header.ts +0 -19
  167. package/src/schemas/info.ts +0 -23
  168. package/src/schemas/license.ts +0 -11
  169. package/src/schemas/link.ts +0 -24
  170. package/src/schemas/media-type.ts +0 -21
  171. package/src/schemas/oauth-flow.ts +0 -13
  172. package/src/schemas/oauthflows.ts +0 -16
  173. package/src/schemas/openapi-document.ts +0 -34
  174. package/src/schemas/operation-without-callback.ts +0 -37
  175. package/src/schemas/parameter.ts +0 -26
  176. package/src/schemas/path-item.ts +0 -35
  177. package/src/schemas/paths.ts +0 -11
  178. package/src/schemas/reference.ts +0 -20
  179. package/src/schemas/request-body.ts +0 -12
  180. package/src/schemas/response.ts +0 -16
  181. package/src/schemas/responses.ts +0 -14
  182. package/src/schemas/schema.ts +0 -26
  183. package/src/schemas/security-requirement.ts +0 -16
  184. package/src/schemas/security-scheme.ts +0 -58
  185. package/src/schemas/server-variable.ts +0 -11
  186. package/src/schemas/server-workspace.ts +0 -36
  187. package/src/schemas/server.ts +0 -12
  188. package/src/schemas/tag.ts +0 -12
  189. package/src/schemas/xml.ts +0 -19
  190. package/src/schemas.ts +0 -6
  191. package/src/server.test.ts +0 -470
  192. package/src/server.ts +0 -341
  193. package/test/helpers.ts +0 -16
  194. package/tsconfig.build.json +0 -12
  195. package/tsconfig.json +0 -8
  196. package/vite.config.ts +0 -9
  197. /package/dist/schemas/{callback.d.ts → openapi-v3/callback.d.ts} +0 -0
  198. /package/dist/schemas/{callback.js → openapi-v3/callback.js} +0 -0
  199. /package/dist/schemas/{components.d.ts → openapi-v3/components.d.ts} +0 -0
  200. /package/dist/schemas/{components.js → openapi-v3/components.js} +0 -0
  201. /package/dist/schemas/{contact.d.ts → openapi-v3/contact.d.ts} +0 -0
  202. /package/dist/schemas/{contact.js → openapi-v3/contact.js} +0 -0
  203. /package/dist/schemas/{discriminator.d.ts → openapi-v3/discriminator.d.ts} +0 -0
  204. /package/dist/schemas/{discriminator.js → openapi-v3/discriminator.js} +0 -0
  205. /package/dist/schemas/{encoding.d.ts → openapi-v3/encoding.d.ts} +0 -0
  206. /package/dist/schemas/{encoding.js → openapi-v3/encoding.js} +0 -0
  207. /package/dist/schemas/{example.d.ts → openapi-v3/example.d.ts} +0 -0
  208. /package/dist/schemas/{example.js → openapi-v3/example.js} +0 -0
  209. /package/dist/schemas/{external-documentation.d.ts → openapi-v3/external-documentation.d.ts} +0 -0
  210. /package/dist/schemas/{external-documentation.js → openapi-v3/external-documentation.js} +0 -0
  211. /package/dist/schemas/{header.d.ts → openapi-v3/header.d.ts} +0 -0
  212. /package/dist/schemas/{header.js → openapi-v3/header.js} +0 -0
  213. /package/dist/schemas/{info.d.ts → openapi-v3/info.d.ts} +0 -0
  214. /package/dist/schemas/{info.js → openapi-v3/info.js} +0 -0
  215. /package/dist/schemas/{license.d.ts → openapi-v3/license.d.ts} +0 -0
  216. /package/dist/schemas/{license.js → openapi-v3/license.js} +0 -0
  217. /package/dist/schemas/{link.d.ts → openapi-v3/link.d.ts} +0 -0
  218. /package/dist/schemas/{link.js → openapi-v3/link.js} +0 -0
  219. /package/dist/schemas/{media-type.d.ts → openapi-v3/media-type.d.ts} +0 -0
  220. /package/dist/schemas/{media-type.js → openapi-v3/media-type.js} +0 -0
  221. /package/dist/schemas/{oauth-flow.d.ts → openapi-v3/oauth-flow.d.ts} +0 -0
  222. /package/dist/schemas/{oauth-flow.js → openapi-v3/oauth-flow.js} +0 -0
  223. /package/dist/schemas/{oauthflows.d.ts → openapi-v3/oauthflows.d.ts} +0 -0
  224. /package/dist/schemas/{oauthflows.js → openapi-v3/oauthflows.js} +0 -0
  225. /package/dist/schemas/{openapi-document.d.ts → openapi-v3/openapi-document.d.ts} +0 -0
  226. /package/dist/schemas/{openapi-document.js → openapi-v3/openapi-document.js} +0 -0
  227. /package/dist/schemas/{operation-without-callback.d.ts → openapi-v3/operation-without-callback.d.ts} +0 -0
  228. /package/dist/schemas/{operation-without-callback.js → openapi-v3/operation-without-callback.js} +0 -0
  229. /package/dist/schemas/{parameter.d.ts → openapi-v3/parameter.d.ts} +0 -0
  230. /package/dist/schemas/{parameter.js → openapi-v3/parameter.js} +0 -0
  231. /package/dist/schemas/{path-item.d.ts → openapi-v3/path-item.d.ts} +0 -0
  232. /package/dist/schemas/{path-item.js → openapi-v3/path-item.js} +0 -0
  233. /package/dist/schemas/{paths.d.ts → openapi-v3/paths.d.ts} +0 -0
  234. /package/dist/schemas/{paths.js → openapi-v3/paths.js} +0 -0
  235. /package/dist/schemas/{reference.d.ts → openapi-v3/reference.d.ts} +0 -0
  236. /package/dist/schemas/{reference.js → openapi-v3/reference.js} +0 -0
  237. /package/dist/schemas/{request-body.d.ts → openapi-v3/request-body.d.ts} +0 -0
  238. /package/dist/schemas/{request-body.js → openapi-v3/request-body.js} +0 -0
  239. /package/dist/schemas/{response.d.ts → openapi-v3/response.d.ts} +0 -0
  240. /package/dist/schemas/{response.js → openapi-v3/response.js} +0 -0
  241. /package/dist/schemas/{responses.d.ts → openapi-v3/responses.d.ts} +0 -0
  242. /package/dist/schemas/{responses.js → openapi-v3/responses.js} +0 -0
  243. /package/dist/schemas/{schema.d.ts → openapi-v3/schema.d.ts} +0 -0
  244. /package/dist/schemas/{schema.js → openapi-v3/schema.js} +0 -0
  245. /package/dist/schemas/{security-requirement.d.ts → openapi-v3/security-requirement.d.ts} +0 -0
  246. /package/dist/schemas/{security-requirement.js → openapi-v3/security-requirement.js} +0 -0
  247. /package/dist/schemas/{security-scheme.d.ts → openapi-v3/security-scheme.d.ts} +0 -0
  248. /package/dist/schemas/{security-scheme.js → openapi-v3/security-scheme.js} +0 -0
  249. /package/dist/schemas/{server-variable.d.ts → openapi-v3/server-variable.d.ts} +0 -0
  250. /package/dist/schemas/{server-variable.js → openapi-v3/server-variable.js} +0 -0
  251. /package/dist/schemas/{server.d.ts → openapi-v3/server.d.ts} +0 -0
  252. /package/dist/schemas/{server.js → openapi-v3/server.js} +0 -0
  253. /package/dist/schemas/{tag.d.ts → openapi-v3/tag.d.ts} +0 -0
  254. /package/dist/schemas/{tag.js → openapi-v3/tag.js} +0 -0
  255. /package/dist/schemas/{xml.d.ts → openapi-v3/xml.d.ts} +0 -0
  256. /package/dist/schemas/{xml.js → openapi-v3/xml.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/schemas/discriminator.ts"],
3
+ "sources": ["../../../src/schemas/openapi-v3/discriminator.ts"],
4
4
  "sourcesContent": ["import { Type } from '@sinclair/typebox'\n\n/**\n * When request bodies or response payloads may be one of a number of different schemas, a Discriminator Object gives a hint about the expected schema of the document. This hint can be used to aid in serialization, deserialization, and validation. The Discriminator Object does this by implicitly or explicitly associating the possible values of a named property with alternative schemas.\n *\n * Note that discriminator MUST NOT change the validation outcome of the schema.\n */\nexport const DiscriminatorObject = Type.Object({\n /** REQUIRED. The name of the property in the payload that will hold the discriminating value. This property SHOULD be required in the payload schema, as the behavior when the property is absent is undefined. */\n propertyName: Type.String(),\n /** An object to hold mappings between payload values and schema names or URI references. */\n mapping: Type.Optional(Type.Record(Type.String(), Type.String())),\n})\n"],
5
5
  "mappings": "AAAA,SAAS,YAAY;AAOd,MAAM,sBAAsB,KAAK,OAAO;AAAA;AAAA,EAE7C,cAAc,KAAK,OAAO;AAAA;AAAA,EAE1B,SAAS,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,OAAO,CAAC,CAAC;AAClE,CAAC;",
6
6
  "names": []
@@ -0,0 +1 @@
1
+ {"version":3,"file":"encoding.d.ts","sourceRoot":"","sources":["../../../src/schemas/openapi-v3/encoding.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,eAAO,MAAM,cAAc;IACzB,sRAAsR;;IAEtR,iOAAiO;;;;;;;;;;;;EAEjO,CAAA"}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/schemas/encoding.ts"],
3
+ "sources": ["../../../src/schemas/openapi-v3/encoding.ts"],
4
4
  "sourcesContent": ["import { Type } from '@sinclair/typebox'\nimport { HeaderObject } from './header'\nimport { ReferenceObject } from './reference'\n\n/**\n * A single encoding definition applied to a single schema property. See Appendix B for a discussion of converting values of various types to string representations.\n *\n * Properties are correlated with multipart parts using the name parameter of Content-Disposition: form-data, and with application/x-www-form-urlencoded using the query string parameter names. In both cases, their order is implementation-defined.\n *\n * See Appendix E for a detailed examination of percent-encoding concerns for form media types.\n */\nexport const EncodingObject = Type.Object({\n /** The Content-Type for encoding a specific property. The value is a comma-separated list, each element of which is either a specific media type (e.g. image/png) or a wildcard media type (e.g. image/*). Default value depends on the property type as shown in the table below. */\n contentType: Type.Optional(Type.String()),\n /** A map allowing additional information to be provided as headers. Content-Type is described separately and SHALL be ignored in this section. This field SHALL be ignored if the request body media type is not a multipart. */\n headers: Type.Optional(Type.Record(Type.String(), Type.Union([HeaderObject, ReferenceObject]))),\n})\n"],
5
5
  "mappings": "AAAA,SAAS,YAAY;AACrB,SAAS,oBAAoB;AAC7B,SAAS,uBAAuB;AASzB,MAAM,iBAAiB,KAAK,OAAO;AAAA;AAAA,EAExC,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAExC,SAAS,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,cAAc,eAAe,CAAC,CAAC,CAAC;AAChG,CAAC;",
6
6
  "names": []
@@ -0,0 +1 @@
1
+ {"version":3,"file":"example.d.ts","sourceRoot":"","sources":["../../../src/schemas/openapi-v3/example.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,aAAa;IACxB,yCAAyC;;IAEzC,oGAAoG;;IAEpG,6PAA6P;;IAE7P,+QAA+Q;;EAE/Q,CAAA"}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/schemas/example.ts"],
3
+ "sources": ["../../../src/schemas/openapi-v3/example.ts"],
4
4
  "sourcesContent": ["import { Type } from '@sinclair/typebox'\n\n/**\n * An object grouping an internal or external example value with basic summary and description metadata. This object is typically used in fields named examples (plural), and is a referenceable alternative to older example (singular) fields that do not support referencing or metadata.\n *\n * Examples allow demonstration of the usage of properties, parameters and objects within OpenAPI.\n */\nexport const ExampleObject = Type.Object({\n /** Short description for the example. */\n summary: Type.Optional(Type.String()),\n /** Long description for the example. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n /** Embedded literal example. The value field and externalValue field are mutually exclusive. To represent examples of media types that cannot naturally represented in JSON or YAML, use a string value to contain the example, escaping where necessary. */\n value: Type.Optional(Type.Any()),\n /** A URI that identifies the literal example. This provides the capability to reference examples that cannot easily be included in JSON or YAML documents. The value field and externalValue field are mutually exclusive. See the rules for resolving Relative References. */\n externalValue: Type.Optional(Type.String()),\n})\n"],
5
5
  "mappings": "AAAA,SAAS,YAAY;AAOd,MAAM,gBAAgB,KAAK,OAAO;AAAA;AAAA,EAEvC,SAAS,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAEpC,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAExC,OAAO,KAAK,SAAS,KAAK,IAAI,CAAC;AAAA;AAAA,EAE/B,eAAe,KAAK,SAAS,KAAK,OAAO,CAAC;AAC5C,CAAC;",
6
6
  "names": []
@@ -0,0 +1 @@
1
+ {"version":3,"file":"external-documentation.d.ts","sourceRoot":"","sources":["../../../src/schemas/openapi-v3/external-documentation.ts"],"names":[],"mappings":"AAEA,0EAA0E;AAC1E,eAAO,MAAM,2BAA2B;IACtC,6GAA6G;;IAE7G,yFAAyF;;EAEzF,CAAA"}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/schemas/external-documentation.ts"],
3
+ "sources": ["../../../src/schemas/openapi-v3/external-documentation.ts"],
4
4
  "sourcesContent": ["import { Type } from '@sinclair/typebox'\n\n/** Allows referencing an external resource for extended documentation. */\nexport const ExternalDocumentationObject = Type.Object({\n /** A description of the target documentation. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n /** REQUIRED. The URI for the target documentation. This MUST be in the form of a URI. */\n url: Type.String(),\n})\n"],
5
5
  "mappings": "AAAA,SAAS,YAAY;AAGd,MAAM,8BAA8B,KAAK,OAAO;AAAA;AAAA,EAErD,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAExC,KAAK,KAAK,OAAO;AACnB,CAAC;",
6
6
  "names": []
@@ -0,0 +1 @@
1
+ {"version":3,"file":"header.d.ts","sourceRoot":"","sources":["../../../src/schemas/openapi-v3/header.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AACH,eAAO,MAAM,YAAY;IACvB,yIAAyI;;IAEzI,+EAA+E;;IAE/E,+GAA+G;;EAE/G,CAAA"}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/schemas/header.ts"],
3
+ "sources": ["../../../src/schemas/openapi-v3/header.ts"],
4
4
  "sourcesContent": ["import { Type } from '@sinclair/typebox'\n\n/**\n * Describes a single header for HTTP responses and for individual parts in multipart representations; see the relevant Response Object and Encoding Object documentation for restrictions on which headers can be described.\n *\n * The Header Object follows the structure of the Parameter Object, including determining its serialization strategy based on whether schema or content is present, with the following changes:\n *\n * - name MUST NOT be specified, it is given in the corresponding headers map.\n * - in MUST NOT be specified, it is implicitly in header.\n * - All traits that are affected by the location MUST be applicable to a location of header (for example, style). This means that allowEmptyValue and allowReserved MUST NOT be used, and style, if used, MUST be limited to \"simple\".\n */\nexport const HeaderObject = Type.Object({\n /** A brief description of the header. This could contain examples of use. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n /** Determines whether this header is mandatory. The default value is false. */\n required: Type.Optional(Type.Boolean()),\n /** Specifies that the header is deprecated and SHOULD be transitioned out of usage. Default value is false. */\n deprecated: Type.Optional(Type.Boolean()),\n})\n"],
5
5
  "mappings": "AAAA,SAAS,YAAY;AAWd,MAAM,eAAe,KAAK,OAAO;AAAA;AAAA,EAEtC,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAExC,UAAU,KAAK,SAAS,KAAK,QAAQ,CAAC;AAAA;AAAA,EAEtC,YAAY,KAAK,SAAS,KAAK,QAAQ,CAAC;AAC1C,CAAC;",
6
6
  "names": []
@@ -0,0 +1 @@
1
+ {"version":3,"file":"info.d.ts","sourceRoot":"","sources":["../../../src/schemas/openapi-v3/info.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,eAAO,MAAM,UAAU;IACrB,sCAAsC;;IAEtC,kCAAkC;;IAElC,4FAA4F;;IAE5F,qFAAqF;;IAErF,mDAAmD;;;;;;IAEnD,mDAAmD;;;;;;IAEnD,oMAAoM;;EAEpM,CAAA"}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/schemas/info.ts"],
3
+ "sources": ["../../../src/schemas/openapi-v3/info.ts"],
4
4
  "sourcesContent": ["import { Type } from '@sinclair/typebox'\nimport { ContactObject } from './contact'\nimport { LicenseObject } from './license'\n\n/**\n * The object provides metadata about the API. The metadata MAY be used by the clients if needed, and MAY be presented in editing or documentation generation tools for convenience.\n */\nexport const InfoObject = Type.Object({\n /** REQUIRED. The title of the API. */\n title: Type.String({ default: 'API' }),\n /** A short summary of the API. */\n summary: Type.Optional(Type.String()),\n /** A description of the API. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n /** A URI for the Terms of Service for the API. This MUST be in the form of a URI. */\n termsOfService: Type.Optional(Type.String()),\n /** The contact information for the exposed API. */\n contact: Type.Optional(ContactObject),\n /** The license information for the exposed API. */\n license: Type.Optional(LicenseObject),\n /** REQUIRED. The version of the OpenAPI Document (which is distinct from the OpenAPI Specification version or the version of the API being described or the version of the OpenAPI Description). */\n version: Type.String(),\n})\n"],
5
5
  "mappings": "AAAA,SAAS,YAAY;AACrB,SAAS,qBAAqB;AAC9B,SAAS,qBAAqB;AAKvB,MAAM,aAAa,KAAK,OAAO;AAAA;AAAA,EAEpC,OAAO,KAAK,OAAO,EAAE,SAAS,MAAM,CAAC;AAAA;AAAA,EAErC,SAAS,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAEpC,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAExC,gBAAgB,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAE3C,SAAS,KAAK,SAAS,aAAa;AAAA;AAAA,EAEpC,SAAS,KAAK,SAAS,aAAa;AAAA;AAAA,EAEpC,SAAS,KAAK,OAAO;AACvB,CAAC;",
6
6
  "names": []
@@ -0,0 +1 @@
1
+ {"version":3,"file":"license.d.ts","sourceRoot":"","sources":["../../../src/schemas/openapi-v3/license.ts"],"names":[],"mappings":"AAEA,mDAAmD;AACnD,eAAO,MAAM,aAAa;IACxB,mDAAmD;;IAEnD,2GAA2G;;IAE3G,8IAA8I;;EAE9I,CAAA"}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/schemas/license.ts"],
3
+ "sources": ["../../../src/schemas/openapi-v3/license.ts"],
4
4
  "sourcesContent": ["import { Type } from '@sinclair/typebox'\n\n/** The license information for the exposed API. */\nexport const LicenseObject = Type.Object({\n /** REQUIRED. The license name used for the API. */\n name: Type.Optional(Type.String()),\n /** An SPDX license expression for the API. The identifier field is mutually exclusive of the url field. */\n identifier: Type.Optional(Type.String()),\n /** A URI for the license used for the API. This MUST be in the form of a URI. The url field is mutually exclusive of the identifier field. */\n url: Type.Optional(Type.String()),\n})\n"],
5
5
  "mappings": "AAAA,SAAS,YAAY;AAGd,MAAM,gBAAgB,KAAK,OAAO;AAAA;AAAA,EAEvC,MAAM,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAEjC,YAAY,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAEvC,KAAK,KAAK,SAAS,KAAK,OAAO,CAAC;AAClC,CAAC;",
6
6
  "names": []
@@ -0,0 +1 @@
1
+ {"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../src/schemas/openapi-v3/link.ts"],"names":[],"mappings":"AAGA;;;;;;GAMG;AACH,eAAO,MAAM,UAAU;IACrB,yPAAyP;;IAEzP,2JAA2J;;IAE3J,8WAA8W;;IAE9W,kGAAkG;;IAElG,6FAA6F;;IAE7F,0DAA0D;;;;;;;;;;EAE1D,CAAA"}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/schemas/link.ts"],
3
+ "sources": ["../../../src/schemas/openapi-v3/link.ts"],
4
4
  "sourcesContent": ["import { Type } from '@sinclair/typebox'\nimport { ServerObject } from './server'\n\n/**\n * The Link Object represents a possible design-time link for a response. The presence of a link does not guarantee the caller's ability to successfully invoke it, rather it provides a known relationship and traversal mechanism between responses and other operations.\n *\n * Unlike dynamic links (i.e. links provided in the response payload), the OAS linking mechanism does not require link information in the runtime response.\n *\n * For computing links and providing instructions to execute them, a runtime expression is used for accessing values in an operation and using them as parameters while invoking the linked operation.\n */\nexport const LinkObject = Type.Object({\n /** A URI reference to an OAS operation. This field is mutually exclusive of the operationId field, and MUST point to an Operation Object. Relative operationRef values MAY be used to locate an existing Operation Object in the OpenAPI Description. */\n operationRef: Type.Optional(Type.String()),\n /** The name of an existing, resolvable OAS operation, as defined with a unique operationId. This field is mutually exclusive of the operationRef field. */\n operationId: Type.Optional(Type.String()),\n /** A map representing parameters to pass to an operation as specified with operationId or identified via operationRef. The key is the parameter name to be used (optionally qualified with the parameter location, e.g. path.id for an id parameter in the path), whereas the value can be a constant or an expression to be evaluated and passed to the linked operation. */\n parameters: Type.Optional(Type.Record(Type.String(), Type.Any())),\n /** A literal value or {expression} to use as a request body when calling the target operation. */\n requestBody: Type.Optional(Type.Any()),\n /** A description of the link. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n /** A server object to be used by the target operation. */\n server: Type.Optional(ServerObject),\n})\n"],
5
5
  "mappings": "AAAA,SAAS,YAAY;AACrB,SAAS,oBAAoB;AAStB,MAAM,aAAa,KAAK,OAAO;AAAA;AAAA,EAEpC,cAAc,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAEzC,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAExC,YAAY,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,IAAI,CAAC,CAAC;AAAA;AAAA,EAEhE,aAAa,KAAK,SAAS,KAAK,IAAI,CAAC;AAAA;AAAA,EAErC,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAExC,QAAQ,KAAK,SAAS,YAAY;AACpC,CAAC;",
6
6
  "names": []
@@ -0,0 +1 @@
1
+ {"version":3,"file":"media-type.d.ts","sourceRoot":"","sources":["../../../src/schemas/openapi-v3/media-type.ts"],"names":[],"mappings":"AAMA;;;;GAIG;AACH,eAAO,MAAM,eAAe;IAC1B,sFAAsF;;;;;;;;;;;;;;;;;;;IAEtF,gCAAgC;;IAEhC,iCAAiC;;;;;;;;;;;;;IAEjC,gaAAga;;;;;;;;;;;;;;;EAEha,CAAA"}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/schemas/media-type.ts"],
3
+ "sources": ["../../../src/schemas/openapi-v3/media-type.ts"],
4
4
  "sourcesContent": ["import { Type } from '@sinclair/typebox'\nimport { ExampleObject } from './example'\nimport { ReferenceObject } from './reference'\nimport { EncodingObject } from './encoding'\nimport { SchemaObject } from './schema'\n\n/**\n * Each Media Type Object provides schema and examples for the media type identified by its key.\n *\n * When example or examples are provided, the example SHOULD match the specified schema and be in the correct format as specified by the media type and its encoding. The example and examples fields are mutually exclusive, and if either is present it SHALL override any example in the schema. See Working With Examples for further guidance regarding the different ways of specifying examples, including non-JSON/YAML values.\n */\nexport const MediaTypeObject = Type.Object({\n /** The schema defining the content of the request, response, parameter, or header. */\n schema: Type.Optional(SchemaObject),\n /** Example of the media type */\n example: Type.Optional(Type.Any()),\n /** Examples of the media type */\n examples: Type.Optional(Type.Record(Type.String(), Type.Union([ExampleObject, ReferenceObject]))),\n /** A map between a property name and its encoding information. The key, being the property name, MUST exist in the schema as a property. The encoding field SHALL only apply to Request Body Objects, and only when the media type is multipart or application/x-www-form-urlencoded. If no Encoding Object is provided for a property, the behavior is determined by the default values documented for the Encoding Object. */\n encoding: Type.Optional(Type.Record(Type.String(), EncodingObject)),\n})\n"],
5
5
  "mappings": "AAAA,SAAS,YAAY;AACrB,SAAS,qBAAqB;AAC9B,SAAS,uBAAuB;AAChC,SAAS,sBAAsB;AAC/B,SAAS,oBAAoB;AAOtB,MAAM,kBAAkB,KAAK,OAAO;AAAA;AAAA,EAEzC,QAAQ,KAAK,SAAS,YAAY;AAAA;AAAA,EAElC,SAAS,KAAK,SAAS,KAAK,IAAI,CAAC;AAAA;AAAA,EAEjC,UAAU,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,eAAe,eAAe,CAAC,CAAC,CAAC;AAAA;AAAA,EAEhG,UAAU,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,cAAc,CAAC;AACpE,CAAC;",
6
6
  "names": []
@@ -0,0 +1 @@
1
+ {"version":3,"file":"oauth-flow.d.ts","sourceRoot":"","sources":["../../../src/schemas/openapi-v3/oauth-flow.ts"],"names":[],"mappings":"AAEA,uDAAuD;AACvD,eAAO,MAAM,eAAe;IAC1B,gJAAgJ;;IAEhJ,wIAAwI;;IAExI,uIAAuI;;IAEvI,wJAAwJ;;EAExJ,CAAA"}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/schemas/oauth-flow.ts"],
3
+ "sources": ["../../../src/schemas/openapi-v3/oauth-flow.ts"],
4
4
  "sourcesContent": ["import { Type } from '@sinclair/typebox'\n\n/** Configuration details for a supported OAuth Flow */\nexport const OAuthFlowObject = Type.Object({\n /** REQUIRED. The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */\n authorizationUrl: Type.String(),\n /** REQUIRED. The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */\n tokenUrl: Type.String(),\n /** The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */\n refreshUrl: Type.Optional(Type.String()),\n /** REQUIRED. The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty. */\n scopes: Type.Record(Type.String(), Type.String()),\n})\n"],
5
5
  "mappings": "AAAA,SAAS,YAAY;AAGd,MAAM,kBAAkB,KAAK,OAAO;AAAA;AAAA,EAEzC,kBAAkB,KAAK,OAAO;AAAA;AAAA,EAE9B,UAAU,KAAK,OAAO;AAAA;AAAA,EAEtB,YAAY,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAEvC,QAAQ,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,OAAO,CAAC;AAClD,CAAC;",
6
6
  "names": []
@@ -0,0 +1 @@
1
+ {"version":3,"file":"oauthflows.d.ts","sourceRoot":"","sources":["../../../src/schemas/openapi-v3/oauthflows.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,eAAO,MAAM,gBAAgB;IAC3B,gDAAgD;;;;;;;IAEhD,+DAA+D;;;;;;;IAE/D,yGAAyG;;;;;;;IAEzG,wGAAwG;;;;;;;EAExG,CAAA"}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/schemas/oauthflows.ts"],
3
+ "sources": ["../../../src/schemas/openapi-v3/oauthflows.ts"],
4
4
  "sourcesContent": ["import { Type } from '@sinclair/typebox'\nimport { OAuthFlowObject } from './oauth-flow'\n\n/**\n * Allows configuration of the supported OAuth Flows.\n */\nexport const OAuthFlowsObject = Type.Object({\n /** Configuration for the OAuth Implicit flow */\n implicit: Type.Optional(OAuthFlowObject),\n /** Configuration for the OAuth Resource Owner Password flow */\n password: Type.Optional(OAuthFlowObject),\n /** Configuration for the OAuth Client Credentials flow. Previously called application in OpenAPI 2.0. */\n clientCredentials: Type.Optional(OAuthFlowObject),\n /** Configuration for the OAuth Authorization Code flow. Previously called accessCode in OpenAPI 2.0. */\n authorizationCode: Type.Optional(OAuthFlowObject),\n})\n"],
5
5
  "mappings": "AAAA,SAAS,YAAY;AACrB,SAAS,uBAAuB;AAKzB,MAAM,mBAAmB,KAAK,OAAO;AAAA;AAAA,EAE1C,UAAU,KAAK,SAAS,eAAe;AAAA;AAAA,EAEvC,UAAU,KAAK,SAAS,eAAe;AAAA;AAAA,EAEvC,mBAAmB,KAAK,SAAS,eAAe;AAAA;AAAA,EAEhD,mBAAmB,KAAK,SAAS,eAAe;AAClD,CAAC;",
6
6
  "names": []
@@ -1 +1 @@
1
- {"version":3,"file":"openapi-document.d.ts","sourceRoot":"","sources":["../../src/schemas/openapi-document.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAUrD,eAAO,MAAM,qBAAqB;IAChC,uPAAuP;;IAEvP,kGAAkG;;;;;;;;;;;;;;;;;;IAElG,6IAA6I;;IAE7I,2NAA2N;;;;;;;;;;IAE3N,sDAAsD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEtE,kdAAkd;;IAEld,uWAAuW;;;;;;;;;IAEvW,yCAAyC;;;;;EAEzC,CAAA;AAEF,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,OAAO,qBAAqB,CAAC,CAAA"}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/schemas/openapi-document.ts"],
3
+ "sources": ["../../../src/schemas/openapi-v3/openapi-document.ts"],
4
4
  "sourcesContent": ["import { Type, type Static } from '@sinclair/typebox'\nimport { InfoObject } from './info'\nimport { ServerObject } from './server'\nimport { PathsObject } from './paths'\nimport { PathItemObject } from './path-item'\nimport { ComponentsObject } from './components'\nimport { SecurityRequirementObject } from './security-requirement'\nimport { TagObject } from './tag'\nimport { ExternalDocumentationObject } from './external-documentation'\n\nexport const OpenAPIDocumentSchema = Type.Object({\n /** REQUIRED. This string MUST be the version number of the OpenAPI Specification that the OpenAPI Document uses. The openapi field SHOULD be used by tooling to interpret the OpenAPI Document. This is not related to the API info.version string. */\n openapi: Type.String(),\n /** REQUIRED. Provides metadata about the API. The metadata MAY be used by tooling as required. */\n info: InfoObject,\n /** The default value for the $schema keyword within Schema Objects contained within this OAS document. This MUST be in the form of a URI. */\n jsonSchemaDialect: Type.Optional(Type.String()),\n /** An array of Server Objects, which provide connectivity information to a target server. If the servers field is not provided, or is an empty array, the default value would be a Server Object with a url value of /. */\n servers: Type.Optional(Type.Array(ServerObject)),\n /** The available paths and operations for the API. */\n paths: Type.Optional(PathsObject),\n /** The incoming webhooks that MAY be received as part of this API and that the API consumer MAY choose to implement. Closely related to the callbacks feature, this section describes requests initiated other than by an API call, for example by an out of band registration. The key name is a unique string to refer to each webhook, while the (optionally referenced) Path Item Object describes a request that may be initiated by the API provider and the expected responses. An example is available. */\n webhooks: Type.Optional(Type.Record(Type.String(), PathItemObject)),\n /** An element to hold various Objects for the OpenAPI Description. */\n components: Type.Optional(ComponentsObject),\n /** A declaration of which security mechanisms can be used across the API. The list of values includes alternative Security Requirement Objects that can be used. Only one of the Security Requirement Objects need to be satisfied to authorize a request. Individual operations can override this definition. The list can be incomplete, up to being empty or absent. To make security explicitly optional, an empty security requirement ({}) can be included in the array. */\n security: Type.Optional(Type.Array(SecurityRequirementObject)),\n /** A list of tags used by the OpenAPI Description with additional metadata. The order of the tags can be used to reflect on their order by the parsing tools. Not all tags that are used by the Operation Object must be declared. The tags that are not declared MAY be organized randomly or based on the tools' logic. Each tag name in the list MUST be unique. */\n tags: Type.Optional(Type.Array(TagObject)),\n /** Additional external documentation. */\n externalDocs: Type.Optional(ExternalDocumentationObject),\n})\n\nexport type OpenApiDocument = Static<typeof OpenAPIDocumentSchema>\n"],
5
5
  "mappings": "AAAA,SAAS,YAAyB;AAClC,SAAS,kBAAkB;AAC3B,SAAS,oBAAoB;AAC7B,SAAS,mBAAmB;AAC5B,SAAS,sBAAsB;AAC/B,SAAS,wBAAwB;AACjC,SAAS,iCAAiC;AAC1C,SAAS,iBAAiB;AAC1B,SAAS,mCAAmC;AAErC,MAAM,wBAAwB,KAAK,OAAO;AAAA;AAAA,EAE/C,SAAS,KAAK,OAAO;AAAA;AAAA,EAErB,MAAM;AAAA;AAAA,EAEN,mBAAmB,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAE9C,SAAS,KAAK,SAAS,KAAK,MAAM,YAAY,CAAC;AAAA;AAAA,EAE/C,OAAO,KAAK,SAAS,WAAW;AAAA;AAAA,EAEhC,UAAU,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,cAAc,CAAC;AAAA;AAAA,EAElE,YAAY,KAAK,SAAS,gBAAgB;AAAA;AAAA,EAE1C,UAAU,KAAK,SAAS,KAAK,MAAM,yBAAyB,CAAC;AAAA;AAAA,EAE7D,MAAM,KAAK,SAAS,KAAK,MAAM,SAAS,CAAC;AAAA;AAAA,EAEzC,cAAc,KAAK,SAAS,2BAA2B;AACzD,CAAC;",
6
6
  "names": []
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operation-without-callback.d.ts","sourceRoot":"","sources":["../../../src/schemas/openapi-v3/operation-without-callback.ts"],"names":[],"mappings":"AASA,kDAAkD;AAClD,eAAO,MAAM,8BAA8B;IAEvC,6IAA6I;;IAE7I,kDAAkD;;IAElD,mHAAmH;;IAEnH,4DAA4D;;;;;IAE5D,2TAA2T;;IAE3T,waAAwa;;;;;;;;;;;;;;;IAExa,wXAAwX;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAExX,yFAAyF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEzF,uIAAuI;;IAEvI,ieAAie;;IAEje,oLAAoL;;;;;;;;;;;;;;;;IAItL,CAAA"}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/schemas/operation-without-callback.ts"],
3
+ "sources": ["../../../src/schemas/openapi-v3/operation-without-callback.ts"],
4
4
  "sourcesContent": ["import { Type } from '@sinclair/typebox'\nimport { ExternalDocumentationObject } from './external-documentation'\nimport { ParameterObject } from './parameter'\nimport { ReferenceObject } from './reference'\nimport { RequestBodyObject } from './request-body'\nimport { ResponsesObject } from './responses'\nimport { SecurityRequirementObject } from './security-requirement'\nimport { ServerObject } from './server'\n\n/** Describes a single API operation on a path. */\nexport const OperationObjectWithoutCallback = Type.Union([\n Type.Object({\n /** A list of tags for API documentation control. Tags can be used for logical grouping of operations by resources or any other qualifier. */\n tags: Type.Optional(Type.Array(Type.String())),\n /** A short summary of what the operation does. */\n summary: Type.Optional(Type.String()),\n /** A verbose explanation of the operation behavior. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n /** Additional external documentation for this operation. */\n externalDocs: Type.Optional(ExternalDocumentationObject),\n /** Unique string used to identify the operation. The id MUST be unique among all operations described in the API. The operationId value is case-sensitive. Tools and libraries MAY use the operationId to uniquely identify an operation, therefore, it is RECOMMENDED to follow common programming naming conventions. */\n operationId: Type.Optional(Type.String()),\n /** A list of parameters that are applicable for this operation. If a parameter is already defined at the Path Item, the new definition will override it but can never remove it. The list MUST NOT include duplicated parameters. A unique parameter is defined by a combination of a name and location. The list can use the Reference Object to link to parameters that are defined in the OpenAPI Object's components.parameters. */\n parameters: Type.Optional(Type.Array(Type.Union([ParameterObject, ReferenceObject]))),\n /** The request body applicable for this operation. The requestBody is fully supported in HTTP methods where the HTTP 1.1 specification RFC7231 has explicitly defined semantics for request bodies. In other cases where the HTTP spec is vague (such as GET, HEAD and DELETE), requestBody is permitted but does not have well-defined semantics and SHOULD be avoided if possible. */\n requestBody: Type.Optional(Type.Union([RequestBodyObject, ReferenceObject])),\n /** The list of possible responses as they are returned from executing this operation. */\n responses: Type.Optional(ResponsesObject),\n /** Declares this operation to be deprecated. Consumers SHOULD refrain from usage of the declared operation. Default value is false. */\n deprecated: Type.Optional(Type.Boolean()),\n /** A declaration of which security mechanisms can be used for this operation. The list of values includes alternative Security Requirement Objects that can be used. Only one of the Security Requirement Objects need to be satisfied to authorize a request. To make security optional, an empty security requirement ({}) can be included in the array. This definition overrides any declared top-level security. To remove a top-level security declaration, an empty array can be used. */\n security: Type.Optional(Type.Array(SecurityRequirementObject)),\n /** An alternative servers array to service this operation. If a servers array is specified at the Path Item Object or OpenAPI Object level, it will be overridden by this value. */\n servers: Type.Optional(Type.Array(ServerObject)),\n }),\n ReferenceObject,\n])\n"],
5
5
  "mappings": "AAAA,SAAS,YAAY;AACrB,SAAS,mCAAmC;AAC5C,SAAS,uBAAuB;AAChC,SAAS,uBAAuB;AAChC,SAAS,yBAAyB;AAClC,SAAS,uBAAuB;AAChC,SAAS,iCAAiC;AAC1C,SAAS,oBAAoB;AAGtB,MAAM,iCAAiC,KAAK,MAAM;AAAA,EACvD,KAAK,OAAO;AAAA;AAAA,IAEV,MAAM,KAAK,SAAS,KAAK,MAAM,KAAK,OAAO,CAAC,CAAC;AAAA;AAAA,IAE7C,SAAS,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAEpC,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAExC,cAAc,KAAK,SAAS,2BAA2B;AAAA;AAAA,IAEvD,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAExC,YAAY,KAAK,SAAS,KAAK,MAAM,KAAK,MAAM,CAAC,iBAAiB,eAAe,CAAC,CAAC,CAAC;AAAA;AAAA,IAEpF,aAAa,KAAK,SAAS,KAAK,MAAM,CAAC,mBAAmB,eAAe,CAAC,CAAC;AAAA;AAAA,IAE3E,WAAW,KAAK,SAAS,eAAe;AAAA;AAAA,IAExC,YAAY,KAAK,SAAS,KAAK,QAAQ,CAAC;AAAA;AAAA,IAExC,UAAU,KAAK,SAAS,KAAK,MAAM,yBAAyB,CAAC;AAAA;AAAA,IAE7D,SAAS,KAAK,SAAS,KAAK,MAAM,YAAY,CAAC;AAAA,EACjD,CAAC;AAAA,EACD;AACF,CAAC;",
6
6
  "names": []
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parameter.d.ts","sourceRoot":"","sources":["../../../src/schemas/openapi-v3/parameter.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,eAAO,MAAM,eAAe;IAC1B;;;oGAGgG;;IAEhG,0GAA0G;;IAE1G,4IAA4I;;IAE5I,mNAAmN;;IAEnN,gHAAgH;;IAEhH,4iBAA4iB;;EAE5iB,CAAA"}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/schemas/parameter.ts"],
3
+ "sources": ["../../../src/schemas/openapi-v3/parameter.ts"],
4
4
  "sourcesContent": ["import { Type } from '@sinclair/typebox'\n\n/**\n * Describes a single operation parameter.\n *\n * A unique parameter is defined by a combination of a name and location.\n *\n * See Appendix E for a detailed examination of percent-encoding concerns, including interactions with the application/x-www-form-urlencoded query string format.\n */\nexport const ParameterObject = Type.Object({\n /** REQUIRED. The name of the parameter. Parameter names are case sensitive.\n * - If in is \"path\", the name field MUST correspond to a template expression occurring within the path field in the Paths Object. See Path Templating for further information.\n * - If in is \"header\" and the name field is \"Accept\", \"Content-Type\" or \"Authorization\", the parameter definition SHALL be ignored.\n * - For all other cases, the name corresponds to the parameter name used by the in field. */\n name: Type.String(),\n /** REQUIRED. The location of the parameter. Possible values are \"query\", \"header\", \"path\" or \"cookie\". */\n in: Type.String(),\n /** A brief description of the parameter. This could contain examples of use. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n /** Determines whether this parameter is mandatory. If the parameter location is \"path\", this field is REQUIRED and its value MUST be true. Otherwise, the field MAY be included and its default value is false. */\n required: Type.Optional(Type.Boolean()),\n /** Specifies that a parameter is deprecated and SHOULD be transitioned out of usage. Default value is false. */\n deprecated: Type.Optional(Type.Boolean()),\n /** If true, clients MAY pass a zero-length string value in place of parameters that would otherwise be omitted entirely, which the server SHOULD interpret as the parameter being unused. Default value is false. If style is used, and if behavior is n/a (cannot be serialized), the value of allowEmptyValue SHALL be ignored. Interactions between this field and the parameter's Schema Object are implementation-defined. This field is valid only for query parameters. Use of this field is NOT RECOMMENDED, and it is likely to be removed in a later revision. */\n allowEmptyValue: Type.Optional(Type.Boolean()),\n})\n"],
5
5
  "mappings": "AAAA,SAAS,YAAY;AASd,MAAM,kBAAkB,KAAK,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA,EAKzC,MAAM,KAAK,OAAO;AAAA;AAAA,EAElB,IAAI,KAAK,OAAO;AAAA;AAAA,EAEhB,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAExC,UAAU,KAAK,SAAS,KAAK,QAAQ,CAAC;AAAA;AAAA,EAEtC,YAAY,KAAK,SAAS,KAAK,QAAQ,CAAC;AAAA;AAAA,EAExC,iBAAiB,KAAK,SAAS,KAAK,QAAQ,CAAC;AAC/C,CAAC;",
6
6
  "names": []
@@ -1 +1 @@
1
- {"version":3,"file":"path-item.d.ts","sourceRoot":"","sources":["../../src/schemas/path-item.ts"],"names":[],"mappings":"AAMA,gPAAgP;AAChP,eAAO,MAAM,cAAc;IACzB;;;;OAIG;;IAEH,oFAAoF;;IAEpF,oJAAoJ;;IAEpJ,oDAAoD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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EvD,sDAAsD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEtD,sDAAsD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEtD,6KAA6K;;;;;;;;;;IAE7K,6aAA6a;;;;;;;;;;;;;;;EAE7a,CAAA"}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/schemas/path-item.ts"],
3
+ "sources": ["../../../src/schemas/openapi-v3/path-item.ts"],
4
4
  "sourcesContent": ["import { Type } from '@sinclair/typebox'\nimport { OperationObjectWithoutCallback } from './operation-without-callback'\nimport { ParameterObject } from './parameter'\nimport { ReferenceObject } from './reference'\nimport { ServerObject } from './server'\n\n/** Describes the operations available on a single path. A Path Item MAY be empty, due to ACL constraints. The path itself is still exposed to the documentation viewer but they will not know which operations and parameters are available. */\nexport const PathItemObject = Type.Object({\n /**\n * Allows for a referenced definition of this path item. The value MUST be in the form of a URI, and the referenced structure MUST be in the form of a Path Item Object. In case a Path Item Object field appears both in the defined object and the referenced object, the behavior is undefined. See the rules for resolving Relative References.\n *\n * Note: The behavior of $ref with adjacent properties is likely to change in future versions of this specification to bring it into closer alignment with the behavior of the Reference Object.\n */\n '$ref': Type.Optional(Type.String()),\n /** An optional string summary, intended to apply to all operations in this path. */\n summary: Type.Optional(Type.String()),\n /** An optional string description, intended to apply to all operations in this path. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n /** A definition of a GET operation on this path. */\n get: Type.Optional(OperationObjectWithoutCallback),\n /** A definition of a PUT operation on this path. */\n put: Type.Optional(OperationObjectWithoutCallback),\n /** A definition of a POST operation on this path. */\n post: Type.Optional(OperationObjectWithoutCallback),\n /** A definition of a DELETE operation on this path. */\n delete: Type.Optional(OperationObjectWithoutCallback),\n /** A definition of a PATCH operation on this path. */\n patch: Type.Optional(OperationObjectWithoutCallback),\n /** A definition of a TRACE operation on this path. */\n trace: Type.Optional(OperationObjectWithoutCallback),\n /** An alternative servers array to service all operations in this path. If a servers array is specified at the OpenAPI Object level, it will be overridden by this value. */\n servers: Type.Optional(Type.Array(ServerObject)),\n /** A list of parameters that are applicable for all the operations described under this path. These parameters can be overridden at the operation level, but cannot be removed there. The list MUST NOT include duplicated parameters. A unique parameter is defined by a combination of a name and location. The list can use the Reference Object to link to parameters that are defined in the OpenAPI Object's components.parameters. */\n parameters: Type.Optional(Type.Array(Type.Union([ParameterObject, ReferenceObject]))),\n})\n"],
5
5
  "mappings": "AAAA,SAAS,YAAY;AACrB,SAAS,sCAAsC;AAC/C,SAAS,uBAAuB;AAChC,SAAS,uBAAuB;AAChC,SAAS,oBAAoB;AAGtB,MAAM,iBAAiB,KAAK,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMxC,QAAQ,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAEnC,SAAS,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAEpC,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAExC,KAAK,KAAK,SAAS,8BAA8B;AAAA;AAAA,EAEjD,KAAK,KAAK,SAAS,8BAA8B;AAAA;AAAA,EAEjD,MAAM,KAAK,SAAS,8BAA8B;AAAA;AAAA,EAElD,QAAQ,KAAK,SAAS,8BAA8B;AAAA;AAAA,EAEpD,OAAO,KAAK,SAAS,8BAA8B;AAAA;AAAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAIvB,CAAA"}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/schemas/paths.ts"],
3
+ "sources": ["../../../src/schemas/openapi-v3/paths.ts"],
4
4
  "sourcesContent": ["import { Type } from '@sinclair/typebox'\nimport { PathItemObject } from './path-item'\n\n/**\n * Holds the relative paths to the individual endpoints and their operations. The path is appended to the URL from the Server Object in order to construct the full URL. The Paths Object MAY be empty, due to Access Control List (ACL) constraints.\n */\nexport const PathsObject = Type.Record(\n Type.String({ pattern: '^/' }),\n /** A relative path to an individual endpoint. The field name MUST begin with a forward slash (/). The path is appended (no relative URL resolution) to the expanded URL from the Server Object's url field in order to construct the full URL. Path templating is allowed. When matching URLs, concrete (non-templated) paths would be matched before their templated counterparts. Templated paths with the same hierarchy but different templated names MUST NOT exist as they are identical. In case of ambiguous matching, it's up to the tooling to decide which one to use. */\n PathItemObject,\n)\n"],
5
5
  "mappings": "AAAA,SAAS,YAAY;AACrB,SAAS,sBAAsB;AAKxB,MAAM,cAAc,KAAK;AAAA,EAC9B,KAAK,OAAO,EAAE,SAAS,KAAK,CAAC;AAAA;AAAA,EAE7B;AACF;",
6
6
  "names": []
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reference.d.ts","sourceRoot":"","sources":["../../../src/schemas/openapi-v3/reference.ts"],"names":[],"mappings":"AAEA;;;;;sDAKsD;AACtD,eAAO,MAAM,eAAe;IAC1B,6EAA6E;;IAE7E,0JAA0J;;IAE1J,+IAA+I;;IAE/I,sLAAsL;;IAEtL,oPAAoP;;EAEpP,CAAA"}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/schemas/reference.ts"],
3
+ "sources": ["../../../src/schemas/openapi-v3/reference.ts"],
4
4
  "sourcesContent": ["import { Type } from '@sinclair/typebox'\n\n/**\n * A simple object to allow referencing other components in the OpenAPI Description, internally and externally.\n *\n * The $ref string value contains a URI RFC3986, which identifies the value being referenced.\n *\n * See the rules for resolving Relative References. */\nexport const ReferenceObject = Type.Object({\n /** REQUIRED. The reference identifier. This MUST be in the form of a URI. */\n '$ref': Type.String(),\n /** Indicates the current status of the reference resolution. Can be either 'loading' while fetching the reference or 'error' if the resolution failed. */\n '$status': Type.Optional(Type.Union([Type.Literal('loading'), Type.Literal('error')])),\n /** Indicates whether this reference should be resolved globally across all documents, rather than just within the current document context. */\n '$global': Type.Optional(Type.Boolean()),\n /** A short summary which by default SHOULD override that of the referenced component. If the referenced object-type does not allow a summary field, then this field has no effect. */\n summary: Type.Optional(Type.String()),\n /** A description which by default SHOULD override that of the referenced component. CommonMark syntax MAY be used for rich text representation. If the referenced object-type does not allow a description field, then this field has no effect. */\n description: Type.Optional(Type.String()),\n})\n"],
5
5
  "mappings": "AAAA,SAAS,YAAY;AAQd,MAAM,kBAAkB,KAAK,OAAO;AAAA;AAAA,EAEzC,QAAQ,KAAK,OAAO;AAAA;AAAA,EAEpB,WAAW,KAAK,SAAS,KAAK,MAAM,CAAC,KAAK,QAAQ,SAAS,GAAG,KAAK,QAAQ,OAAO,CAAC,CAAC,CAAC;AAAA;AAAA,EAErF,WAAW,KAAK,SAAS,KAAK,QAAQ,CAAC;AAAA;AAAA,EAEvC,SAAS,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAEpC,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAC1C,CAAC;",
6
6
  "names": []
@@ -0,0 +1 @@
1
+ {"version":3,"file":"request-body.d.ts","sourceRoot":"","sources":["../../../src/schemas/openapi-v3/request-body.ts"],"names":[],"mappings":"AAGA,uCAAuC;AACvC,eAAO,MAAM,iBAAiB;IAC5B,+IAA+I;;IAE/I,8OAA8O;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAE9O,oFAAoF;;EAEpF,CAAA"}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/schemas/request-body.ts"],
3
+ "sources": ["../../../src/schemas/openapi-v3/request-body.ts"],
4
4
  "sourcesContent": ["import { Type } from '@sinclair/typebox'\nimport { MediaTypeObject } from './media-type'\n\n/** Describes a single request body. */\nexport const RequestBodyObject = Type.Object({\n /** A brief description of the request body. This could contain examples of use. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n /** REQUIRED. The content of the request body. The key is a media type or media type range and the value describes it. For requests that match multiple keys, only the most specific key is applicable. e.g. \"text/plain\" overrides \"text/* */\n content: Type.Record(Type.String(), MediaTypeObject),\n /** Determines if the request body is required in the request. Defaults to false. */\n required: Type.Optional(Type.Boolean()),\n})\n"],
5
5
  "mappings": "AAAA,SAAS,YAAY;AACrB,SAAS,uBAAuB;AAGzB,MAAM,oBAAoB,KAAK,OAAO;AAAA;AAAA,EAE3C,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAExC,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,eAAe;AAAA;AAAA,EAEnD,UAAU,KAAK,SAAS,KAAK,QAAQ,CAAC;AACxC,CAAC;",
6
6
  "names": []
@@ -0,0 +1 @@
1
+ {"version":3,"file":"response.d.ts","sourceRoot":"","sources":["../../../src/schemas/openapi-v3/response.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,cAAc;IACzB,2GAA2G;;IAE3G,iLAAiL;;;;;;;;;;;;IAEjL,oQAAoQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEpQ,8LAA8L;;;;;;;;;;;;;;;;;;;;;;;EAE9L,CAAA"}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/schemas/response.ts"],
3
+ "sources": ["../../../src/schemas/openapi-v3/response.ts"],
4
4
  "sourcesContent": ["import { Type } from '@sinclair/typebox'\nimport { HeaderObject } from './header'\nimport { ReferenceObject } from './reference'\nimport { MediaTypeObject } from './media-type'\nimport { LinkObject } from './link'\n\nexport const ResponseObject = Type.Object({\n /** REQUIRED. A description of the response. CommonMark syntax MAY be used for rich text representation. */\n description: Type.String(),\n /** Maps a header name to its definition. RFC7230 states header names are case insensitive. If a response header is defined with the name \"Content-Type\", it SHALL be ignored. */\n headers: Type.Optional(Type.Record(Type.String(), Type.Union([HeaderObject, ReferenceObject]))),\n /** A map containing descriptions of potential response payloads. The key is a media type or media type range and the value describes it. For responses that match multiple keys, only the most specific key is applicable. e.g. \"text/plain\" overrides \"text/*\" */\n content: Type.Optional(Type.Record(Type.String(), MediaTypeObject)),\n /** A map of operations links that can be followed from the response. The key of the map is a short name for the link, following the naming constraints of the names for Component Objects. */\n links: Type.Optional(Type.Record(Type.String(), Type.Union([LinkObject, ReferenceObject]))),\n})\n"],
5
5
  "mappings": "AAAA,SAAS,YAAY;AACrB,SAAS,oBAAoB;AAC7B,SAAS,uBAAuB;AAChC,SAAS,uBAAuB;AAChC,SAAS,kBAAkB;AAEpB,MAAM,iBAAiB,KAAK,OAAO;AAAA;AAAA,EAExC,aAAa,KAAK,OAAO;AAAA;AAAA,EAEzB,SAAS,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,cAAc,eAAe,CAAC,CAAC,CAAC;AAAA;AAAA,EAE9F,SAAS,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,eAAe,CAAC;AAAA;AAAA,EAElE,OAAO,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,YAAY,eAAe,CAAC,CAAC,CAAC;AAC5F,CAAC;",
6
6
  "names": []
@@ -0,0 +1 @@
1
+ {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../src/schemas/openapi-v3/responses.ts"],"names":[],"mappings":"AAIA;;;;;;;;GAQG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAA4E,CAAA"}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/schemas/responses.ts"],
3
+ "sources": ["../../../src/schemas/openapi-v3/responses.ts"],
4
4
  "sourcesContent": ["import { Type } from '@sinclair/typebox'\nimport { ReferenceObject } from './reference'\nimport { ResponseObject } from './response'\n\n/**\n * A container for the expected responses of an operation. The container maps a HTTP response code to the expected response.\n *\n * The documentation is not necessarily expected to cover all possible HTTP response codes because they may not be known in advance. However, documentation is expected to cover a successful operation response and any known errors.\n *\n * The default MAY be used as a default Response Object for all HTTP codes that are not covered individually by the Responses Object.\n *\n * The Responses Object MUST contain at least one response code, and if only one response code is provided it SHOULD be the response for a successful operation call.\n */\nexport const ResponsesObject = Type.Record(Type.String(), Type.Union([ResponseObject, ReferenceObject]))\n"],
5
5
  "mappings": "AAAA,SAAS,YAAY;AACrB,SAAS,uBAAuB;AAChC,SAAS,sBAAsB;AAWxB,MAAM,kBAAkB,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,gBAAgB,eAAe,CAAC,CAAC;",
6
6
  "names": []
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/schemas/openapi-v3/schema.ts"],"names":[],"mappings":"AAKA;;;;;;GAMG;AACH,eAAO,MAAM,YAAY;IACvB,0LAA0L;;;;;IAE1L,iKAAiK;;;;;;;;IAEjK,yDAAyD;;;;;IAEzD;;;;OAIG;;EAEH,CAAA"}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/schemas/schema.ts"],
3
+ "sources": ["../../../src/schemas/openapi-v3/schema.ts"],
4
4
  "sourcesContent": ["import { Type } from '@sinclair/typebox'\nimport { DiscriminatorObject } from './discriminator'\nimport { XMLObject } from './xml'\nimport { ExternalDocumentationObject } from './external-documentation'\n\n/**\n * The Schema Object allows the definition of input and output data types. These types can be objects, but also primitives and arrays. This object is a superset of the JSON Schema Specification Draft 2020-12. The empty schema (which allows any instance to validate) MAY be represented by the boolean value true and a schema which allows no instance to validate MAY be represented by the boolean value false.\n *\n * For more information about the keywords, see JSON Schema Core and JSON Schema Validation.\n *\n * Unless stated otherwise, the keyword definitions follow those of JSON Schema and do not add any additional semantics; this includes keywords such as $schema, $id, $ref, and $dynamicRef being URIs rather than URLs. Where JSON Schema indicates that behavior is defined by the application (e.g. for annotations), OAS also defers the definition of semantics to the application consuming the OpenAPI document.\n */\nexport const SchemaObject = Type.Object({\n /** Adds support for polymorphism. The discriminator is used to determine which of a set of schemas a payload is expected to satisfy. See Composition and Inheritance for more details. */\n discriminator: Type.Optional(DiscriminatorObject),\n /** This MAY be used only on property schemas. It has no effect on root schemas. Adds additional metadata to describe the XML representation of this property. */\n xml: Type.Optional(XMLObject),\n /** Additional external documentation for this schema. */\n externalDocs: Type.Optional(ExternalDocumentationObject),\n /**\n * A free-form field to include an example of an instance for this schema. To represent examples that cannot be naturally represented in JSON or YAML, a string value can be used to contain the example with escaping where necessary.\n *\n * Deprecated: The example field has been deprecated in favor of the JSON Schema examples keyword. Use of example is discouraged, and later versions of this specification may remove it.\n */\n example: Type.Optional(Type.Any()),\n})\n"],
5
5
  "mappings": "AAAA,SAAS,YAAY;AACrB,SAAS,2BAA2B;AACpC,SAAS,iBAAiB;AAC1B,SAAS,mCAAmC;AASrC,MAAM,eAAe,KAAK,OAAO;AAAA;AAAA,EAEtC,eAAe,KAAK,SAAS,mBAAmB;AAAA;AAAA,EAEhD,KAAK,KAAK,SAAS,SAAS;AAAA;AAAA,EAE5B,cAAc,KAAK,SAAS,2BAA2B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMvD,SAAS,KAAK,SAAS,KAAK,IAAI,CAAC;AACnC,CAAC;",
6
6
  "names": []
@@ -0,0 +1 @@
1
+ {"version":3,"file":"security-requirement.d.ts","sourceRoot":"","sources":["../../../src/schemas/openapi-v3/security-requirement.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AACH,eAAO,MAAM,yBAAyB,mJAIrC,CAAA"}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/schemas/security-requirement.ts"],
3
+ "sources": ["../../../src/schemas/openapi-v3/security-requirement.ts"],
4
4
  "sourcesContent": ["import { Type } from '@sinclair/typebox'\n\n/**\n * Lists the required security schemes to execute this operation. The name used for each property MUST correspond to a security scheme declared in the Security Schemes under the Components Object.\n *\n * A Security Requirement Object MAY refer to multiple security schemes in which case all schemes MUST be satisfied for a request to be authorized. This enables support for scenarios where multiple query parameters or HTTP headers are required to convey security information.\n *\n * When the security field is defined on the OpenAPI Object or Operation Object and contains multiple Security Requirement Objects, only one of the entries in the list needs to be satisfied to authorize the request. This enables support for scenarios where the API allows multiple, independent security schemes.\n *\n * An empty Security Requirement Object ({}) indicates anonymous access is supported.\n */\nexport const SecurityRequirementObject = Type.Record(\n Type.String(),\n /** Each name MUST correspond to a security scheme which is declared in the Security Schemes under the Components Object. If the security scheme is of type \"oauth2\" or \"openIdConnect\", then the value is a list of scope names required for the execution, and the list MAY be empty if authorization does not require a specified scope. For other security scheme types, the array MAY contain a list of role names which are required for the execution, but are not otherwise defined or exchanged in-band. */\n Type.Array(Type.String()),\n)\n"],
5
5
  "mappings": "AAAA,SAAS,YAAY;AAWd,MAAM,4BAA4B,KAAK;AAAA,EAC5C,KAAK,OAAO;AAAA;AAAA,EAEZ,KAAK,MAAM,KAAK,OAAO,CAAC;AAC1B;",
6
6
  "names": []
@@ -0,0 +1 @@
1
+ {"version":3,"file":"security-scheme.d.ts","sourceRoot":"","sources":["../../../src/schemas/openapi-v3/security-scheme.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,iBAAiB;IAC5B,qGAAqG;;EAErG,CAAA;AAEF,eAAO,MAAM,YAAY;IAJvB,qGAAqG;;;IAOnG,4HAA4H;;IAE5H,8EAA8E;;IAE9E,8FAA8F;;IAGhG,CAAA;AAEF,eAAO,MAAM,UAAU;IAhBrB,qGAAqG;;;IAmBnG,4HAA4H;;IAE5H,gQAAgQ;;IAEhQ,uMAAuM;;IAGzM,CAAA;AAEF,eAAO,MAAM,MAAM;IA5BjB,qGAAqG;;;IA+BnG,4HAA4H;;IAE5H,6FAA6F;;;;;;;;;;;;;;;;;;;;;;;;;;;IAG/F,CAAA;AAEF,eAAO,MAAM,aAAa;IAtCxB,qGAAqG;;;IAyCnG,4HAA4H;;IAE5H,+FAA+F;;IAGjG,CAAA;AAEF;;;;GAIG;AACH,eAAO,MAAM,oBAAoB;IArD/B,qGAAqG;;;IAOnG,4HAA4H;;IAE5H,8EAA8E;;IAE9E,8FAA8F;;;IAXhG,qGAAqG;;;IAmBnG,4HAA4H;;IAE5H,gQAAgQ;;IAEhQ,uMAAuM;;;IAvBzM,qGAAqG;;;IA+BnG,4HAA4H;;IAE5H,6FAA6F;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAjC/F,qGAAqG;;;IAyCnG,4HAA4H;;IAE5H,+FAA+F;;MAUF,CAAA"}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/schemas/security-scheme.ts"],
3
+ "sources": ["../../../src/schemas/openapi-v3/security-scheme.ts"],
4
4
  "sourcesContent": ["import { Type } from '@sinclair/typebox'\nimport { OAuthFlowsObject } from './oauthflows'\n\nexport const DescriptionSchema = Type.Object({\n /** A description for security scheme. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n})\n\nexport const ApiKeySchema = Type.Intersect([\n DescriptionSchema,\n Type.Object({\n /** REQUIRED. The type of the security scheme. Valid values are \"apiKey\", \"http\", \"mutualTLS\", \"oauth2\", \"openIdConnect\". */\n type: Type.Literal('apiKey'),\n /** REQUIRED. The name of the header, query or cookie parameter to be used. */\n name: Type.String(),\n /** REQUIRED. The location of the API key. Valid values are \"query\", \"header\", or \"cookie\". */\n in: Type.String(),\n }),\n])\n\nexport const HttpSchema = Type.Intersect([\n DescriptionSchema,\n Type.Object({\n /** REQUIRED. The type of the security scheme. Valid values are \"apiKey\", \"http\", \"mutualTLS\", \"oauth2\", \"openIdConnect\". */\n type: Type.Literal('http'),\n /** REQUIRED. The name of the HTTP Authentication scheme to be used in the Authorization header as defined in RFC7235. The values used SHOULD be registered in the IANA Authentication Scheme registry. The value is case-insensitive, as defined in RFC7235. */\n scheme: Type.String(),\n /** A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually generated by an authorization server, so this information is primarily for documentation purposes. */\n bearerFormat: Type.Optional(Type.String()),\n }),\n])\n\nexport const OAuth2 = Type.Intersect([\n DescriptionSchema,\n Type.Object({\n /** REQUIRED. The type of the security scheme. Valid values are \"apiKey\", \"http\", \"mutualTLS\", \"oauth2\", \"openIdConnect\". */\n type: Type.Literal('oauth2'),\n /** REQUIRED. An object containing configuration information for the flow types supported. */\n flows: OAuthFlowsObject,\n }),\n])\n\nexport const OpenIdConnect = Type.Intersect([\n DescriptionSchema,\n Type.Object({\n /** REQUIRED. The type of the security scheme. Valid values are \"apiKey\", \"http\", \"mutualTLS\", \"oauth2\", \"openIdConnect\". */\n type: Type.Literal('openIdConnect'),\n /** REQUIRED. Well-known URL to discover the [[OpenID-Connect-Discovery]] provider metadata. */\n openIdConnectUrl: Type.String(),\n }),\n])\n\n/**\n * Defines a security scheme that can be used by the operations.\n *\n * Supported schemes are HTTP authentication, an API key (either as a header, a cookie parameter or as a query parameter), mutual TLS (use of a client certificate), OAuth2's common flows (implicit, password, client credentials and authorization code) as defined in RFC6749, and [[OpenID-Connect-Core]]. Please note that as of 2020, the implicit flow is about to be deprecated by OAuth 2.0 Security Best Current Practice. Recommended for most use cases is Authorization Code Grant flow with PKCE.\n */\nexport const SecuritySchemeObject = Type.Union([ApiKeySchema, HttpSchema, OAuth2, OpenIdConnect])\n"],
5
5
  "mappings": "AAAA,SAAS,YAAY;AACrB,SAAS,wBAAwB;AAE1B,MAAM,oBAAoB,KAAK,OAAO;AAAA;AAAA,EAE3C,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAC1C,CAAC;AAEM,MAAM,eAAe,KAAK,UAAU;AAAA,EACzC;AAAA,EACA,KAAK,OAAO;AAAA;AAAA,IAEV,MAAM,KAAK,QAAQ,QAAQ;AAAA;AAAA,IAE3B,MAAM,KAAK,OAAO;AAAA;AAAA,IAElB,IAAI,KAAK,OAAO;AAAA,EAClB,CAAC;AACH,CAAC;AAEM,MAAM,aAAa,KAAK,UAAU;AAAA,EACvC;AAAA,EACA,KAAK,OAAO;AAAA;AAAA,IAEV,MAAM,KAAK,QAAQ,MAAM;AAAA;AAAA,IAEzB,QAAQ,KAAK,OAAO;AAAA;AAAA,IAEpB,cAAc,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA,EAC3C,CAAC;AACH,CAAC;AAEM,MAAM,SAAS,KAAK,UAAU;AAAA,EACnC;AAAA,EACA,KAAK,OAAO;AAAA;AAAA,IAEV,MAAM,KAAK,QAAQ,QAAQ;AAAA;AAAA,IAE3B,OAAO;AAAA,EACT,CAAC;AACH,CAAC;AAEM,MAAM,gBAAgB,KAAK,UAAU;AAAA,EAC1C;AAAA,EACA,KAAK,OAAO;AAAA;AAAA,IAEV,MAAM,KAAK,QAAQ,eAAe;AAAA;AAAA,IAElC,kBAAkB,KAAK,OAAO;AAAA,EAChC,CAAC;AACH,CAAC;AAOM,MAAM,uBAAuB,KAAK,MAAM,CAAC,cAAc,YAAY,QAAQ,aAAa,CAAC;",
6
6
  "names": []
@@ -0,0 +1 @@
1
+ {"version":3,"file":"server-variable.d.ts","sourceRoot":"","sources":["../../../src/schemas/openapi-v3/server-variable.ts"],"names":[],"mappings":"AAEA,qFAAqF;AACrF,eAAO,MAAM,oBAAoB;IAC/B,kIAAkI;;IAElI,+VAA+V;;IAE/V,mHAAmH;;EAEnH,CAAA"}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/schemas/server-variable.ts"],
3
+ "sources": ["../../../src/schemas/openapi-v3/server-variable.ts"],
4
4
  "sourcesContent": ["import { Type } from '@sinclair/typebox'\n\n/** An object representing a Server Variable for server URL template substitution. */\nexport const ServerVariableObject = Type.Object({\n /** An enumeration of string values to be used if the substitution options are from a limited set. The array MUST NOT be empty. */\n enum: Type.Optional(Type.Array(Type.String())),\n /** REQUIRED. The default value to use for substitution, which SHALL be sent if an alternate value is not supplied. If the enum is defined, the value MUST exist in the enum's values. Note that this behavior is different from the Schema Object's default keyword, which documents the receiver's behavior rather than inserting the value into the data. */\n default: Type.Optional(Type.String()),\n /** An optional description for the server variable. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n})\n"],
5
5
  "mappings": "AAAA,SAAS,YAAY;AAGd,MAAM,uBAAuB,KAAK,OAAO;AAAA;AAAA,EAE9C,MAAM,KAAK,SAAS,KAAK,MAAM,KAAK,OAAO,CAAC,CAAC;AAAA;AAAA,EAE7C,SAAS,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAEpC,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAC1C,CAAC;",
6
6
  "names": []
@@ -0,0 +1 @@
1
+ {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../../src/schemas/openapi-v3/server.ts"],"names":[],"mappings":"AAGA,uCAAuC;AACvC,eAAO,MAAM,YAAY;IACvB,4SAA4S;;IAE5S,gIAAgI;;IAEhI,oHAAoH;;;;;;EAEpH,CAAA"}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/schemas/server.ts"],
3
+ "sources": ["../../../src/schemas/openapi-v3/server.ts"],
4
4
  "sourcesContent": ["import { Type } from '@sinclair/typebox'\nimport { ServerVariableObject } from './server-variable'\n\n/** An object representing a Server. */\nexport const ServerObject = Type.Object({\n /** REQUIRED. A URL to the target host. This URL supports Server Variables and MAY be relative, to indicate that the host location is relative to the location where the document containing the Server Object is being served. Variable substitutions will be made when a variable is named in {braces}. */\n url: Type.String(),\n /** An optional string describing the host designated by the URL. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n /** A map between a variable name and its value. The value is used for substitution in the server's URL template. */\n variables: Type.Optional(Type.Record(Type.String(), ServerVariableObject)),\n})\n"],
5
5
  "mappings": "AAAA,SAAS,YAAY;AACrB,SAAS,4BAA4B;AAG9B,MAAM,eAAe,KAAK,OAAO;AAAA;AAAA,EAEtC,KAAK,KAAK,OAAO;AAAA;AAAA,EAEjB,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAExC,WAAW,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,oBAAoB,CAAC;AAC3E,CAAC;",
6
6
  "names": []
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["../../../src/schemas/openapi-v3/tag.ts"],"names":[],"mappings":"AAGA,sKAAsK;AACtK,eAAO,MAAM,SAAS;IACpB,qCAAqC;;IAErC,6FAA6F;;IAE7F,sDAAsD;;;;;EAEtD,CAAA"}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/schemas/tag.ts"],
3
+ "sources": ["../../../src/schemas/openapi-v3/tag.ts"],
4
4
  "sourcesContent": ["import { Type } from '@sinclair/typebox'\nimport { ExternalDocumentationObject } from './external-documentation'\n\n/** Adds metadata to a single tag that is used by the Operation Object. It is not mandatory to have a Tag Object per tag defined in the Operation Object instances. */\nexport const TagObject = Type.Object({\n /** REQUIRED. The name of the tag. */\n name: Type.String(),\n /** A description for the tag. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n /** Additional external documentation for this tag. */\n externalDocs: Type.Optional(ExternalDocumentationObject),\n})\n"],
5
5
  "mappings": "AAAA,SAAS,YAAY;AACrB,SAAS,mCAAmC;AAGrC,MAAM,YAAY,KAAK,OAAO;AAAA;AAAA,EAEnC,MAAM,KAAK,OAAO;AAAA;AAAA,EAElB,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAExC,cAAc,KAAK,SAAS,2BAA2B;AACzD,CAAC;",
6
6
  "names": []
@@ -0,0 +1 @@
1
+ {"version":3,"file":"xml.d.ts","sourceRoot":"","sources":["../../../src/schemas/openapi-v3/xml.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,SAAS;IACpB,wWAAwW;;IAExW,4FAA4F;;IAE5F,0CAA0C;;IAE1C,yHAAyH;;IAEzH,2RAA2R;;EAE3R,CAAA"}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/schemas/xml.ts"],
3
+ "sources": ["../../../src/schemas/openapi-v3/xml.ts"],
4
4
  "sourcesContent": ["import { Type } from '@sinclair/typebox'\n\n/**\n * A metadata object that allows for more fine-tuned XML model definitions.\n *\n * When using arrays, XML element names are not inferred (for singular/plural forms) and the name field SHOULD be used to add that information. See examples for expected behavior.\n */\nexport const XMLObject = Type.Object({\n /** Replaces the name of the element/attribute used for the described schema property. When defined within items, it will affect the name of the individual XML elements within the list. When defined alongside type being \"array\" (outside the items), it will affect the wrapping element if and only if wrapped is true. If wrapped is false, it will be ignored. */\n name: Type.Optional(Type.String()),\n /** The URI of the namespace definition. Value MUST be in the form of a non-relative URI. */\n namespace: Type.Optional(Type.String()),\n /** The prefix to be used for the name. */\n prefix: Type.Optional(Type.String()),\n /** Declares whether the property definition translates to an attribute instead of an element. Default value is false. */\n attribute: Type.Optional(Type.Boolean()),\n /** MAY be used only for an array definition. Signifies whether the array is wrapped (for example, <books><book/><book/></books>) or unwrapped (<book/><book/>). Default value is false. The definition takes effect only when defined alongside type being \"array\" (outside the items). */\n wrapped: Type.Optional(Type.Boolean()),\n})\n"],
5
5
  "mappings": "AAAA,SAAS,YAAY;AAOd,MAAM,YAAY,KAAK,OAAO;AAAA;AAAA,EAEnC,MAAM,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAEjC,WAAW,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAEtC,QAAQ,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAEnC,WAAW,KAAK,SAAS,KAAK,QAAQ,CAAC;AAAA;AAAA,EAEvC,SAAS,KAAK,SAAS,KAAK,QAAQ,CAAC;AACvC,CAAC;",
6
6
  "names": []
@@ -1,12 +1,12 @@
1
1
  import { type Static } from '@sinclair/typebox';
2
2
  declare const WorkspaceDocumentMetaSchema: import("@sinclair/typebox").TObject<{
3
- 'x-scalar-active-auth': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
4
- 'x-scalar-active-server': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
3
+ "x-scalar-active-auth": import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
4
+ "x-scalar-active-server": import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
5
5
  }>;
6
6
  export type WorkspaceDocumentMeta = Static<typeof WorkspaceDocumentMetaSchema>;
7
7
  export declare const WorkspaceDocumentSchema: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
8
- 'x-scalar-active-auth': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
9
- 'x-scalar-active-server': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
8
+ "x-scalar-active-auth": import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
9
+ "x-scalar-active-server": import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
10
10
  }>, import("@sinclair/typebox").TObject<{
11
11
  openapi: import("@sinclair/typebox").TString;
12
12
  info: import("@sinclair/typebox").TObject<{
@@ -4937,21 +4937,21 @@ export declare const WorkspaceDocumentSchema: import("@sinclair/typebox").TInter
4937
4937
  }>]>;
4938
4938
  export type WorkspaceDocument = Static<typeof WorkspaceDocumentSchema>;
4939
4939
  declare const WorkspaceMetaSchema: import("@sinclair/typebox").TObject<{
4940
- 'x-scalar-dark-mode': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
4941
- 'x-scalar-default-client': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
4942
- 'x-scalar-active-document': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
4943
- 'x-scalar-theme': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
4940
+ "x-scalar-dark-mode": import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
4941
+ "x-scalar-default-client": import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
4942
+ "x-scalar-active-document": import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
4943
+ "x-scalar-theme": import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
4944
4944
  }>;
4945
4945
  export type WorkspaceMeta = Static<typeof WorkspaceMetaSchema>;
4946
4946
  export declare const WorkspaceSchema: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
4947
- 'x-scalar-dark-mode': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
4948
- 'x-scalar-default-client': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
4949
- 'x-scalar-active-document': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
4950
- 'x-scalar-theme': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
4947
+ "x-scalar-dark-mode": import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
4948
+ "x-scalar-default-client": import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
4949
+ "x-scalar-active-document": import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
4950
+ "x-scalar-theme": import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
4951
4951
  }>, import("@sinclair/typebox").TObject<{
4952
4952
  documents: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
4953
- 'x-scalar-active-auth': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
4954
- 'x-scalar-active-server': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
4953
+ "x-scalar-active-auth": import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
4954
+ "x-scalar-active-server": import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
4955
4955
  }>, import("@sinclair/typebox").TObject<{
4956
4956
  openapi: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
4957
4957
  info: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
@@ -9880,9 +9880,10 @@ export declare const WorkspaceSchema: import("@sinclair/typebox").TIntersect<[im
9880
9880
  url: import("@sinclair/typebox").TString;
9881
9881
  }>>;
9882
9882
  }>]>>;
9883
- activeDocument: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
9884
- 'x-scalar-active-auth': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
9885
- 'x-scalar-active-server': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
9883
+ /** Active document is possibly undefined if we attempt to lookup with an invalid key */
9884
+ activeDocument: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TUndefined, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
9885
+ "x-scalar-active-auth": import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
9886
+ "x-scalar-active-server": import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
9886
9887
  }>, import("@sinclair/typebox").TObject<{
9887
9888
  openapi: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
9888
9889
  info: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
@@ -14810,8 +14811,8 @@ export declare const WorkspaceSchema: import("@sinclair/typebox").TIntersect<[im
14810
14811
  description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
14811
14812
  url: import("@sinclair/typebox").TString;
14812
14813
  }>>;
14813
- }>]>;
14814
+ }>]>]>;
14814
14815
  }>]>;
14815
14816
  export type Workspace = Static<typeof WorkspaceSchema>;
14816
14817
  export {};
14817
- //# sourceMappingURL=server-workspace.d.ts.map
14818
+ //# sourceMappingURL=workspace.d.ts.map