@scalar/oas-utils 0.2.122 → 0.2.124

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 (202) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/entities/cookie/cookie.d.ts +4 -4
  3. package/dist/entities/cookie/cookie.js +1 -1
  4. package/dist/entities/cookie/index.d.ts +1 -1
  5. package/dist/entities/cookie/index.d.ts.map +1 -1
  6. package/dist/entities/environment/environment.d.ts +2 -2
  7. package/dist/entities/environment/environment.js +1 -1
  8. package/dist/entities/environment/index.d.ts +1 -1
  9. package/dist/entities/environment/index.d.ts.map +1 -1
  10. package/dist/entities/hotkeys/index.d.ts +1 -1
  11. package/dist/entities/hotkeys/index.d.ts.map +1 -1
  12. package/dist/entities/shared/index.d.ts +1 -1
  13. package/dist/entities/shared/index.d.ts.map +1 -1
  14. package/dist/entities/shared/index.js +1 -1
  15. package/dist/entities/shared/utility.d.ts +0 -16
  16. package/dist/entities/shared/utility.d.ts.map +1 -1
  17. package/dist/entities/shared/utility.js +1 -8
  18. package/dist/entities/spec/collection.d.ts +40 -24
  19. package/dist/entities/spec/collection.d.ts.map +1 -1
  20. package/dist/entities/spec/collection.js +9 -2
  21. package/dist/entities/spec/index.d.ts +10 -11
  22. package/dist/entities/spec/index.d.ts.map +1 -1
  23. package/dist/entities/spec/index.js +8 -8
  24. package/dist/entities/spec/operation.d.ts +23 -23
  25. package/dist/entities/spec/operation.d.ts.map +1 -1
  26. package/dist/entities/spec/parameters.d.ts +6 -6
  27. package/dist/entities/spec/request-examples.d.ts +244 -244
  28. package/dist/entities/spec/request-examples.d.ts.map +1 -1
  29. package/dist/entities/spec/request-examples.js +6 -71
  30. package/dist/entities/spec/requests.d.ts +47 -47
  31. package/dist/entities/spec/requests.d.ts.map +1 -1
  32. package/dist/entities/spec/requests.js +3 -2
  33. package/dist/entities/spec/security.d.ts +39 -39
  34. package/dist/entities/spec/security.d.ts.map +1 -1
  35. package/dist/entities/spec/security.js +4 -4
  36. package/dist/entities/spec/server.d.ts +99 -28
  37. package/dist/entities/spec/server.d.ts.map +1 -1
  38. package/dist/entities/spec/server.js +1 -1
  39. package/dist/entities/spec/spec-objects.d.ts +3 -3
  40. package/dist/entities/spec/spec-objects.js +1 -1
  41. package/dist/entities/spec/x-scalar-environments.d.ts +9 -9
  42. package/dist/entities/spec/x-scalar-secrets.d.ts +4 -4
  43. package/dist/entities/workspace/index.d.ts +1 -1
  44. package/dist/entities/workspace/index.d.ts.map +1 -1
  45. package/dist/entities/workspace/workspace.d.ts +18 -18
  46. package/dist/entities/workspace/workspace.js +1 -1
  47. package/dist/helpers/{createHash.d.ts → create-hash.d.ts} +1 -1
  48. package/dist/helpers/create-hash.d.ts.map +1 -0
  49. package/dist/helpers/ensure-protocol.js +1 -1
  50. package/dist/helpers/{fetchSpecFromUrl.d.ts → fetch-spec-from-url.d.ts} +1 -1
  51. package/dist/helpers/fetch-spec-from-url.d.ts.map +1 -0
  52. package/dist/helpers/{fetchSpecFromUrl.js → fetch-spec-from-url.js} +1 -1
  53. package/dist/helpers/{fetchWithProxyFallback.d.ts → fetch-with-proxy-fallback.d.ts} +1 -1
  54. package/dist/helpers/fetch-with-proxy-fallback.d.ts.map +1 -0
  55. package/dist/helpers/{fetchWithProxyFallback.js → fetch-with-proxy-fallback.js} +1 -1
  56. package/dist/helpers/find-variables.d.ts +5 -0
  57. package/dist/helpers/find-variables.d.ts.map +1 -0
  58. package/dist/helpers/{findVariables.js → find-variables.js} +1 -1
  59. package/dist/helpers/{httpMethods.d.ts → http-methods.d.ts} +2 -2
  60. package/dist/helpers/http-methods.d.ts.map +1 -0
  61. package/dist/helpers/{httpStatusCodes.d.ts → http-status-codes.d.ts} +1 -1
  62. package/dist/helpers/http-status-codes.d.ts.map +1 -0
  63. package/dist/helpers/index.d.ts +27 -26
  64. package/dist/helpers/index.d.ts.map +1 -1
  65. package/dist/helpers/index.js +21 -20
  66. package/dist/helpers/{isLocalUrl.d.ts → is-local-url.d.ts} +1 -1
  67. package/dist/helpers/is-local-url.d.ts.map +1 -0
  68. package/dist/helpers/{isValidUrl.d.ts → is-valid-url.d.ts} +1 -1
  69. package/dist/helpers/is-valid-url.d.ts.map +1 -0
  70. package/dist/helpers/{iterateTitle.d.ts → iterate-title.d.ts} +1 -1
  71. package/dist/helpers/iterate-title.d.ts.map +1 -0
  72. package/dist/helpers/{makeUrlAbsolute.d.ts → make-url-absolute.d.ts} +1 -1
  73. package/dist/helpers/make-url-absolute.d.ts.map +1 -0
  74. package/dist/helpers/merge-urls.d.ts.map +1 -1
  75. package/dist/helpers/merge-urls.js +2 -2
  76. package/dist/helpers/{normalizeMimeTypeObject.d.ts → normalize-mime-type-object.d.ts} +1 -1
  77. package/dist/helpers/normalize-mime-type-object.d.ts.map +1 -0
  78. package/dist/helpers/{normalizeMimeTypeObject.js → normalize-mime-type-object.js} +1 -1
  79. package/dist/helpers/{normalizeMimeType.d.ts → normalize-mime-type.d.ts} +1 -1
  80. package/dist/helpers/normalize-mime-type.d.ts.map +1 -0
  81. package/dist/helpers/parse.js +1 -1
  82. package/dist/helpers/{prettyPrintJson.d.ts → pretty-print-json.d.ts} +1 -1
  83. package/dist/helpers/pretty-print-json.d.ts.map +1 -0
  84. package/dist/helpers/{redirectToProxy.d.ts → redirect-to-proxy.d.ts} +1 -1
  85. package/dist/helpers/redirect-to-proxy.d.ts.map +1 -0
  86. package/dist/helpers/{redirectToProxy.js → redirect-to-proxy.js} +2 -2
  87. package/dist/helpers/{regexHelpers.d.ts → regex-helpers.d.ts} +1 -1
  88. package/dist/helpers/regex-helpers.d.ts.map +1 -0
  89. package/dist/helpers/{replaceVariables.d.ts → replace-variables.d.ts} +1 -1
  90. package/dist/helpers/replace-variables.d.ts.map +1 -0
  91. package/dist/helpers/{shouldIgnoreEntity.d.ts → should-ignore-entity.d.ts} +3 -2
  92. package/dist/helpers/should-ignore-entity.d.ts.map +1 -0
  93. package/dist/helpers/{ssrState.d.ts → ssr-state.d.ts} +1 -1
  94. package/dist/helpers/ssr-state.d.ts.map +1 -0
  95. package/dist/helpers/string.d.ts.map +1 -1
  96. package/dist/helpers/string.js +1 -1
  97. package/dist/migrations/index.d.ts +3 -3
  98. package/dist/migrations/index.d.ts.map +1 -1
  99. package/dist/migrations/local-storage.d.ts +1 -1
  100. package/dist/migrations/local-storage.d.ts.map +1 -1
  101. package/dist/migrations/migrator.d.ts +1 -1
  102. package/dist/migrations/migrator.d.ts.map +1 -1
  103. package/dist/migrations/semver.js +1 -1
  104. package/dist/migrations/v-2.1.0/migration.d.ts +2 -2
  105. package/dist/migrations/v-2.1.0/migration.d.ts.map +1 -1
  106. package/dist/migrations/v-2.1.0/migration.js +1 -1
  107. package/dist/migrations/v-2.2.0/migration.d.ts +2 -2
  108. package/dist/migrations/v-2.2.0/migration.d.ts.map +1 -1
  109. package/dist/migrations/v-2.3.0/migration.d.ts +2 -2
  110. package/dist/migrations/v-2.3.0/migration.d.ts.map +1 -1
  111. package/dist/migrations/v-2.4.0/migration.d.ts +2 -2
  112. package/dist/migrations/v-2.4.0/migration.d.ts.map +1 -1
  113. package/dist/migrations/v-2.5.0/migration.d.ts +2 -2
  114. package/dist/migrations/v-2.5.0/migration.d.ts.map +1 -1
  115. package/dist/migrations/v-2.5.0/migration.js +3 -3
  116. package/dist/migrations/v-2.5.0/types.generated.d.ts +9 -4
  117. package/dist/migrations/v-2.5.0/types.generated.d.ts.map +1 -1
  118. package/dist/spec-getters/{getExampleFromSchema.d.ts → get-example-from-schema.d.ts} +1 -1
  119. package/dist/spec-getters/get-example-from-schema.d.ts.map +1 -0
  120. package/dist/spec-getters/{getParametersFromOperation.d.ts → get-parameters-from-operation.d.ts} +1 -1
  121. package/dist/spec-getters/get-parameters-from-operation.d.ts.map +1 -0
  122. package/dist/spec-getters/{getParametersFromOperation.js → get-parameters-from-operation.js} +1 -1
  123. package/dist/spec-getters/{getRequestBodyFromOperation.d.ts → get-request-body-from-operation.d.ts} +2 -2
  124. package/dist/spec-getters/get-request-body-from-operation.d.ts.map +1 -0
  125. package/dist/spec-getters/{getRequestBodyFromOperation.js → get-request-body-from-operation.js} +7 -7
  126. package/dist/spec-getters/{getServerVariableExamples.d.ts → get-server-variable-examples.d.ts} +2 -2
  127. package/dist/spec-getters/get-server-variable-examples.d.ts.map +1 -0
  128. package/dist/spec-getters/index.d.ts +4 -4
  129. package/dist/spec-getters/index.d.ts.map +1 -1
  130. package/dist/spec-getters/index.js +4 -4
  131. package/dist/transforms/import-spec.d.ts +9 -5
  132. package/dist/transforms/import-spec.d.ts.map +1 -1
  133. package/dist/transforms/import-spec.js +39 -29
  134. package/dist/transforms/index.d.ts +1 -1
  135. package/dist/transforms/index.d.ts.map +1 -1
  136. package/dist/transforms/index.js +1 -1
  137. package/package.json +5 -43
  138. package/dist/diff/diff.d.ts +0 -13
  139. package/dist/diff/diff.d.ts.map +0 -1
  140. package/dist/diff/diff.js +0 -41
  141. package/dist/diff/index.d.ts +0 -2
  142. package/dist/diff/index.d.ts.map +0 -1
  143. package/dist/diff/index.js +0 -1
  144. package/dist/entities/index.d.ts +0 -2
  145. package/dist/entities/index.d.ts.map +0 -1
  146. package/dist/entities/index.js +0 -1
  147. package/dist/helpers/createHash.d.ts.map +0 -1
  148. package/dist/helpers/fetchSpecFromUrl.d.ts.map +0 -1
  149. package/dist/helpers/fetchWithProxyFallback.d.ts.map +0 -1
  150. package/dist/helpers/findVariables.d.ts +0 -5
  151. package/dist/helpers/findVariables.d.ts.map +0 -1
  152. package/dist/helpers/httpMethods.d.ts.map +0 -1
  153. package/dist/helpers/httpStatusCodes.d.ts.map +0 -1
  154. package/dist/helpers/isLocalUrl.d.ts.map +0 -1
  155. package/dist/helpers/isValidUrl.d.ts.map +0 -1
  156. package/dist/helpers/iterateTitle.d.ts.map +0 -1
  157. package/dist/helpers/makeUrlAbsolute.d.ts.map +0 -1
  158. package/dist/helpers/normalizeMimeType.d.ts.map +0 -1
  159. package/dist/helpers/normalizeMimeTypeObject.d.ts.map +0 -1
  160. package/dist/helpers/prettyPrintJson.d.ts.map +0 -1
  161. package/dist/helpers/redirectToProxy.d.ts.map +0 -1
  162. package/dist/helpers/regexHelpers.d.ts.map +0 -1
  163. package/dist/helpers/replaceVariables.d.ts.map +0 -1
  164. package/dist/helpers/shouldIgnoreEntity.d.ts.map +0 -1
  165. package/dist/helpers/ssrState.d.ts.map +0 -1
  166. package/dist/migrations/v-0.0.0/index.d.ts +0 -2
  167. package/dist/migrations/v-0.0.0/index.d.ts.map +0 -1
  168. package/dist/migrations/v-0.0.0/index.js +0 -1
  169. package/dist/migrations/v-2.1.0/index.d.ts +0 -3
  170. package/dist/migrations/v-2.1.0/index.d.ts.map +0 -1
  171. package/dist/migrations/v-2.1.0/index.js +0 -1
  172. package/dist/migrations/v-2.2.0/index.d.ts +0 -3
  173. package/dist/migrations/v-2.2.0/index.d.ts.map +0 -1
  174. package/dist/migrations/v-2.2.0/index.js +0 -1
  175. package/dist/migrations/v-2.3.0/index.d.ts +0 -3
  176. package/dist/migrations/v-2.3.0/index.d.ts.map +0 -1
  177. package/dist/migrations/v-2.3.0/index.js +0 -1
  178. package/dist/migrations/v-2.4.0/index.d.ts +0 -3
  179. package/dist/migrations/v-2.4.0/index.d.ts.map +0 -1
  180. package/dist/migrations/v-2.4.0/index.js +0 -1
  181. package/dist/migrations/v-2.5.0/index.d.ts +0 -3
  182. package/dist/migrations/v-2.5.0/index.d.ts.map +0 -1
  183. package/dist/migrations/v-2.5.0/index.js +0 -1
  184. package/dist/spec-getters/getExampleFromSchema.d.ts.map +0 -1
  185. package/dist/spec-getters/getParametersFromOperation.d.ts.map +0 -1
  186. package/dist/spec-getters/getRequestBodyFromOperation.d.ts.map +0 -1
  187. package/dist/spec-getters/getServerVariableExamples.d.ts.map +0 -1
  188. /package/dist/helpers/{createHash.js → create-hash.js} +0 -0
  189. /package/dist/helpers/{httpMethods.js → http-methods.js} +0 -0
  190. /package/dist/helpers/{httpStatusCodes.js → http-status-codes.js} +0 -0
  191. /package/dist/helpers/{isLocalUrl.js → is-local-url.js} +0 -0
  192. /package/dist/helpers/{isValidUrl.js → is-valid-url.js} +0 -0
  193. /package/dist/helpers/{iterateTitle.js → iterate-title.js} +0 -0
  194. /package/dist/helpers/{makeUrlAbsolute.js → make-url-absolute.js} +0 -0
  195. /package/dist/helpers/{normalizeMimeType.js → normalize-mime-type.js} +0 -0
  196. /package/dist/helpers/{prettyPrintJson.js → pretty-print-json.js} +0 -0
  197. /package/dist/helpers/{regexHelpers.js → regex-helpers.js} +0 -0
  198. /package/dist/helpers/{replaceVariables.js → replace-variables.js} +0 -0
  199. /package/dist/helpers/{shouldIgnoreEntity.js → should-ignore-entity.js} +0 -0
  200. /package/dist/helpers/{ssrState.js → ssr-state.js} +0 -0
  201. /package/dist/spec-getters/{getExampleFromSchema.js → get-example-from-schema.js} +0 -0
  202. /package/dist/spec-getters/{getServerVariableExamples.js → get-server-variable-examples.js} +0 -0
@@ -2,7 +2,7 @@
2
2
  * Aliases Request to Operation which is closer to the spec,
3
3
  * also will not conflict with the builtin Request class
4
4
  */
5
- import { type RequestPayload, type Request as RequestType } from './requests.js';
5
+ import { type RequestPayload, type Request as RequestType } from './requests.ts';
6
6
  export type Operation = RequestType;
7
7
  export type OperationPayload = RequestPayload;
8
8
  export declare const operationSchema: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<Omit<{
@@ -33,12 +33,12 @@ export declare const operationSchema: import("zod").ZodObject<import("zod").obje
33
33
  summary?: string | undefined;
34
34
  }>>, import("zod").ZodArray<import("zod").ZodUnknown, "many">]>>;
35
35
  }, "strip", import("zod").ZodTypeAny, {
36
- required: boolean;
37
36
  name: string;
38
- in: "path" | "cookie" | "query" | "header";
37
+ required: boolean;
38
+ in: "cookie" | "path" | "query" | "header";
39
39
  deprecated: boolean;
40
- example?: unknown;
41
40
  description?: string | undefined;
41
+ example?: unknown;
42
42
  schema?: unknown;
43
43
  content?: unknown;
44
44
  style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
@@ -48,10 +48,10 @@ export declare const operationSchema: import("zod").ZodObject<import("zod").obje
48
48
  }> | undefined;
49
49
  }, {
50
50
  name: string;
51
- in: "path" | "cookie" | "query" | "header";
52
- example?: unknown;
53
- required?: boolean | undefined;
51
+ in: "cookie" | "path" | "query" | "header";
54
52
  description?: string | undefined;
53
+ required?: boolean | undefined;
54
+ example?: unknown;
55
55
  deprecated?: boolean | undefined;
56
56
  schema?: unknown;
57
57
  content?: unknown;
@@ -96,14 +96,14 @@ export declare const operationSchema: import("zod").ZodObject<import("zod").obje
96
96
  }>>>;
97
97
  }, "strip", import("zod").ZodTypeAny, {
98
98
  content: string | Record<string, any>;
99
- encoding: "application/json" | "text/plain" | "text/html" | "application/javascript" | "application/xml" | "application/yaml" | "application/edn" | "application/octet-stream" | "application/x-www-form-urlencoded" | "multipart/form-data" | "binary";
99
+ encoding: "application/json" | "application/octet-stream" | "application/x-www-form-urlencoded" | "application/xml" | "multipart/form-data" | "text/plain" | "text/html" | "application/javascript" | "application/yaml" | "application/edn" | "binary";
100
100
  file?: {
101
101
  url: string;
102
102
  base64?: string | undefined;
103
103
  } | null | undefined;
104
104
  }, {
105
105
  content: string | Record<string, any>;
106
- encoding: "application/json" | "text/plain" | "text/html" | "application/javascript" | "application/xml" | "application/yaml" | "application/edn" | "application/octet-stream" | "application/x-www-form-urlencoded" | "multipart/form-data" | "binary";
106
+ encoding: "application/json" | "application/octet-stream" | "application/x-www-form-urlencoded" | "application/xml" | "multipart/form-data" | "text/plain" | "text/html" | "application/javascript" | "application/yaml" | "application/edn" | "binary";
107
107
  file?: {
108
108
  url: string;
109
109
  base64?: string | undefined;
@@ -116,26 +116,26 @@ export declare const operationSchema: import("zod").ZodObject<import("zod").obje
116
116
  cookies: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
117
117
  }, "strip", import("zod").ZodTypeAny, {
118
118
  path?: Record<string, string> | undefined;
119
- cookies?: Record<string, string> | undefined;
120
119
  query?: Record<string, string> | undefined;
121
120
  headers?: Record<string, string> | undefined;
121
+ cookies?: Record<string, string> | undefined;
122
122
  }, {
123
123
  path?: Record<string, string> | undefined;
124
- cookies?: Record<string, string> | undefined;
125
124
  query?: Record<string, string> | undefined;
126
125
  headers?: Record<string, string> | undefined;
126
+ cookies?: Record<string, string> | undefined;
127
127
  }>;
128
128
  }, "strip", import("zod").ZodTypeAny, {
129
129
  parameters: {
130
130
  path?: Record<string, string> | undefined;
131
- cookies?: Record<string, string> | undefined;
132
131
  query?: Record<string, string> | undefined;
133
132
  headers?: Record<string, string> | undefined;
133
+ cookies?: Record<string, string> | undefined;
134
134
  };
135
135
  name?: string | undefined;
136
136
  body?: {
137
137
  content: string | Record<string, any>;
138
- encoding: "application/json" | "text/plain" | "text/html" | "application/javascript" | "application/xml" | "application/yaml" | "application/edn" | "application/octet-stream" | "application/x-www-form-urlencoded" | "multipart/form-data" | "binary";
138
+ encoding: "application/json" | "application/octet-stream" | "application/x-www-form-urlencoded" | "application/xml" | "multipart/form-data" | "text/plain" | "text/html" | "application/javascript" | "application/yaml" | "application/edn" | "binary";
139
139
  file?: {
140
140
  url: string;
141
141
  base64?: string | undefined;
@@ -144,14 +144,14 @@ export declare const operationSchema: import("zod").ZodObject<import("zod").obje
144
144
  }, {
145
145
  parameters: {
146
146
  path?: Record<string, string> | undefined;
147
- cookies?: Record<string, string> | undefined;
148
147
  query?: Record<string, string> | undefined;
149
148
  headers?: Record<string, string> | undefined;
149
+ cookies?: Record<string, string> | undefined;
150
150
  };
151
151
  name?: string | undefined;
152
152
  body?: {
153
153
  content: string | Record<string, any>;
154
- encoding: "application/json" | "text/plain" | "text/html" | "application/javascript" | "application/xml" | "application/yaml" | "application/edn" | "application/octet-stream" | "application/x-www-form-urlencoded" | "multipart/form-data" | "binary";
154
+ encoding: "application/json" | "application/octet-stream" | "application/x-www-form-urlencoded" | "application/xml" | "multipart/form-data" | "text/plain" | "text/html" | "application/javascript" | "application/yaml" | "application/edn" | "binary";
155
155
  file?: {
156
156
  url: string;
157
157
  base64?: string | undefined;
@@ -172,9 +172,9 @@ export declare const operationSchema: import("zod").ZodObject<import("zod").obje
172
172
  examples: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodBranded<import("zod").ZodString, "example">, "many">>;
173
173
  selectedSecuritySchemeUids: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodBranded<import("zod").ZodString, "securityScheme">, import("zod").ZodArray<import("zod").ZodBranded<import("zod").ZodString, "securityScheme">, "many">]>, "many">>;
174
174
  }>, "strip", import("zod").ZodTypeAny, {
175
+ uid: string & import("zod").BRAND<"operation">;
175
176
  path: string;
176
177
  type: "request";
177
- uid: string & import("zod").BRAND<"operation">;
178
178
  selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
179
179
  selectedServerUid: (string & import("zod").BRAND<"server">) | null;
180
180
  servers: (string & import("zod").BRAND<"server">)[];
@@ -193,12 +193,12 @@ export declare const operationSchema: import("zod").ZodObject<import("zod").obje
193
193
  deprecated?: boolean | undefined;
194
194
  operationId?: string | undefined;
195
195
  parameters?: {
196
- required: boolean;
197
196
  name: string;
198
- in: "path" | "cookie" | "query" | "header";
197
+ required: boolean;
198
+ in: "cookie" | "path" | "query" | "header";
199
199
  deprecated: boolean;
200
- example?: unknown;
201
200
  description?: string | undefined;
201
+ example?: unknown;
202
202
  schema?: unknown;
203
203
  content?: unknown;
204
204
  style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
@@ -211,9 +211,9 @@ export declare const operationSchema: import("zod").ZodObject<import("zod").obje
211
211
  responses?: Record<string, any> | undefined;
212
212
  'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
213
213
  }, {
214
+ uid?: string | undefined;
214
215
  path?: string | undefined;
215
216
  type?: "request" | undefined;
216
- uid?: string | undefined;
217
217
  description?: string | undefined;
218
218
  summary?: string | undefined;
219
219
  externalDocs?: {
@@ -232,10 +232,10 @@ export declare const operationSchema: import("zod").ZodObject<import("zod").obje
232
232
  operationId?: string | undefined;
233
233
  parameters?: {
234
234
  name: string;
235
- in: "path" | "cookie" | "query" | "header";
236
- example?: unknown;
237
- required?: boolean | undefined;
235
+ in: "cookie" | "path" | "query" | "header";
238
236
  description?: string | undefined;
237
+ required?: boolean | undefined;
238
+ example?: unknown;
239
239
  deprecated?: boolean | undefined;
240
240
  schema?: unknown;
241
241
  content?: unknown;
@@ -1 +1 @@
1
- {"version":3,"file":"operation.d.ts","sourceRoot":"","sources":["../../../src/entities/spec/operation.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,OAAO,IAAI,WAAW,EAAiB,MAAM,YAAY,CAAA;AAE5F,MAAM,MAAM,SAAS,GAAG,WAAW,CAAA;AACnC,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAA;AAC7C,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAgB,CAAA"}
1
+ {"version":3,"file":"operation.d.ts","sourceRoot":"","sources":["../../../src/entities/spec/operation.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,OAAO,IAAI,WAAW,EAAiB,MAAM,eAAe,CAAA;AAE/F,MAAM,MAAM,SAAS,GAAG,WAAW,CAAA;AACnC,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAA;AAC7C,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAgB,CAAA"}
@@ -30,12 +30,12 @@ export declare const oasParameterSchema: z.ZodObject<{
30
30
  summary?: string | undefined;
31
31
  }>>, z.ZodArray<z.ZodUnknown, "many">]>>;
32
32
  }, "strip", z.ZodTypeAny, {
33
- required: boolean;
34
33
  name: string;
35
- in: "path" | "cookie" | "query" | "header";
34
+ required: boolean;
35
+ in: "cookie" | "path" | "query" | "header";
36
36
  deprecated: boolean;
37
- example?: unknown;
38
37
  description?: string | undefined;
38
+ example?: unknown;
39
39
  schema?: unknown;
40
40
  content?: unknown;
41
41
  style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
@@ -45,10 +45,10 @@ export declare const oasParameterSchema: z.ZodObject<{
45
45
  }> | undefined;
46
46
  }, {
47
47
  name: string;
48
- in: "path" | "cookie" | "query" | "header";
49
- example?: unknown;
50
- required?: boolean | undefined;
48
+ in: "cookie" | "path" | "query" | "header";
51
49
  description?: string | undefined;
50
+ required?: boolean | undefined;
51
+ example?: unknown;
52
52
  deprecated?: boolean | undefined;
53
53
  schema?: unknown;
54
54
  content?: unknown;