@kubb/ast 5.0.0-alpha.57 → 5.0.0-alpha.59
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.
- package/dist/index.cjs +78 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +78 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/constants.ts +0 -18
package/package.json
CHANGED
package/src/constants.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { NodeKind } from './nodes/base.ts'
|
|
2
2
|
import type { MediaType } from './nodes/http.ts'
|
|
3
3
|
import type { HttpMethod } from './nodes/operation.ts'
|
|
4
|
-
import type { ParameterLocation } from './nodes/parameter.ts'
|
|
5
4
|
import type { SchemaType } from './nodes/schema.ts'
|
|
6
5
|
|
|
7
6
|
/**
|
|
@@ -177,13 +176,6 @@ export const httpMethods = {
|
|
|
177
176
|
trace: 'TRACE',
|
|
178
177
|
} as const satisfies Record<Lowercase<HttpMethod>, HttpMethod>
|
|
179
178
|
|
|
180
|
-
export const parameterLocations = {
|
|
181
|
-
path: 'path',
|
|
182
|
-
query: 'query',
|
|
183
|
-
header: 'header',
|
|
184
|
-
cookie: 'cookie',
|
|
185
|
-
} as const satisfies Record<ParameterLocation, ParameterLocation>
|
|
186
|
-
|
|
187
179
|
/**
|
|
188
180
|
* Default maximum number of concurrent callbacks used by `walk`.
|
|
189
181
|
*
|
|
@@ -198,16 +190,6 @@ export const parameterLocations = {
|
|
|
198
190
|
*/
|
|
199
191
|
export const WALK_CONCURRENCY = 30
|
|
200
192
|
|
|
201
|
-
/**
|
|
202
|
-
* Fallback response status code used for catch-all responses.
|
|
203
|
-
*
|
|
204
|
-
* @example
|
|
205
|
-
* ```ts
|
|
206
|
-
* const status = DEFAULT_STATUS_CODE // 'default'
|
|
207
|
-
* ```
|
|
208
|
-
*/
|
|
209
|
-
export const DEFAULT_STATUS_CODE = 'default' as const
|
|
210
|
-
|
|
211
193
|
export const mediaTypes = {
|
|
212
194
|
applicationJson: 'application/json',
|
|
213
195
|
applicationXml: 'application/xml',
|