@kubb/oas 5.0.0-alpha.21 → 5.0.0-alpha.23

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 (2) hide show
  1. package/dist/index.d.ts +3 -3
  2. package/package.json +3 -3
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@ import { t as __name } from "./chunk--u3MIqq1.js";
2
2
  import BaseOas from "oas";
3
3
  import * as OasTypes from "oas/types";
4
4
  import { DiscriminatorObject as DiscriminatorObject$1, HttpMethods, MediaTypeObject as MediaTypeObject$1, OASDocument, ParameterObject, ResponseObject as ResponseObject$1, SchemaObject as SchemaObject$1 } from "oas/types";
5
- import * as oas_normalize_lib_types0 from "oas-normalize/lib/types";
5
+ import * as _$oas_normalize_lib_types0 from "oas-normalize/lib/types";
6
6
  import { Operation as Operation$1 } from "oas/operation";
7
7
  import { OpenAPIV3, OpenAPIV3 as OpenAPIV3$1, OpenAPIV3_1, OpenAPIV3_1 as OpenAPIV3_1$1 } from "openapi-types";
8
8
  import { Config } from "@kubb/core";
@@ -125,7 +125,7 @@ declare class Oas extends BaseOas {
125
125
  getResponseSchema(operation: Operation, statusCode: string | number): SchemaObject;
126
126
  getRequestSchema(operation: Operation): SchemaObject | undefined;
127
127
  getParametersSchema(operation: Operation, inKey: 'path' | 'query' | 'header'): SchemaObject | null;
128
- validate(): Promise<oas_normalize_lib_types0.ValidationResult>;
128
+ validate(): Promise<_$oas_normalize_lib_types0.ValidationResult>;
129
129
  flattenSchema(schema: SchemaObject | null): SchemaObject | null;
130
130
  /**
131
131
  * Get schemas from OpenAPI components (schemas, responses, requestBodies).
@@ -228,7 +228,7 @@ declare function flattenSchema(schema: SchemaObject | null): SchemaObject | null
228
228
  /**
229
229
  * Validate an OpenAPI document using oas-normalize.
230
230
  */
231
- declare function validate(document: Document): Promise<oas_normalize_lib_types0.ValidationResult>;
231
+ declare function validate(document: Document): Promise<_$oas_normalize_lib_types0.ValidationResult>;
232
232
  //#endregion
233
233
  export { DiscriminatorObject, Document, ENUM_EXTENSION_KEYS, FORMAT_MAP, HttpMethod, httpMethods as HttpMethods, httpMethods, KNOWN_MEDIA_TYPES, KUBB_INLINE_REF_PREFIX, MediaTypeObject, Oas, type OasTypes, type OpenAPIV3, type OpenAPIV3_1, Operation, ReferenceObject, ResponseObject, STRUCTURAL_KEYS, SchemaObject, contentType, flattenSchema, getDefaultValue, isAllOptional, isDiscriminator, isNullable, isOpenApiV3_1Document, isOptional, isParameterObject, isReference, isRequired, merge, parse, parseFromConfig, resolveServerUrl, validate };
234
234
  //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/oas",
3
- "version": "5.0.0-alpha.21",
3
+ "version": "5.0.0-alpha.23",
4
4
  "description": "OpenAPI Specification (OAS) utilities and helpers for Kubb, providing parsing, normalization, and manipulation of OpenAPI/Swagger schemas.",
5
5
  "keywords": [
6
6
  "openapi",
@@ -61,8 +61,8 @@
61
61
  "openapi-types": "^12.1.3",
62
62
  "remeda": "^2.33.6",
63
63
  "swagger2openapi": "^7.0.8",
64
- "@kubb/ast": "5.0.0-alpha.21",
65
- "@kubb/core": "5.0.0-alpha.21"
64
+ "@kubb/core": "5.0.0-alpha.23",
65
+ "@kubb/ast": "5.0.0-alpha.23"
66
66
  },
67
67
  "devDependencies": {
68
68
  "@types/swagger2openapi": "^7.0.4",