hono-openapi 1.3.4 → 1.3.5
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 +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -5,7 +5,7 @@ var standardValidator = require('@hono/standard-validator');
|
|
|
5
5
|
var standardJson = require('@standard-community/standard-json');
|
|
6
6
|
var standardOpenapi = require('@standard-community/standard-openapi');
|
|
7
7
|
|
|
8
|
-
const uniqueSymbol = Symbol("openapi");
|
|
8
|
+
const uniqueSymbol = Symbol.for("hono-openapi");
|
|
9
9
|
const VALIDATION_MARKER = "__HonoOpenAPIValidator__";
|
|
10
10
|
const ALLOWED_METHODS = [
|
|
11
11
|
"GET",
|
package/dist/index.d.cts
CHANGED
|
@@ -283,10 +283,10 @@ declare function generateSpecs<E extends Env = BlankEnv, P extends string = stri
|
|
|
283
283
|
};
|
|
284
284
|
};
|
|
285
285
|
components: OpenAPIV3_1.ComponentsObject;
|
|
286
|
-
openapi: string;
|
|
287
286
|
externalDocs?: openapi_types.OpenAPIV3.ExternalDocumentationObject;
|
|
288
287
|
security?: openapi_types.OpenAPIV3.SecurityRequirementObject[];
|
|
289
288
|
servers?: OpenAPIV3_1.ServerObject[];
|
|
289
|
+
openapi: string;
|
|
290
290
|
webhooks?: Record<string, OpenAPIV3_1.PathItemObject | OpenAPIV3_1.ReferenceObject>;
|
|
291
291
|
jsonSchemaDialect?: string;
|
|
292
292
|
}>;
|
package/dist/index.d.ts
CHANGED
|
@@ -283,10 +283,10 @@ declare function generateSpecs<E extends Env = BlankEnv, P extends string = stri
|
|
|
283
283
|
};
|
|
284
284
|
};
|
|
285
285
|
components: OpenAPIV3_1.ComponentsObject;
|
|
286
|
-
openapi: string;
|
|
287
286
|
externalDocs?: openapi_types.OpenAPIV3.ExternalDocumentationObject;
|
|
288
287
|
security?: openapi_types.OpenAPIV3.SecurityRequirementObject[];
|
|
289
288
|
servers?: OpenAPIV3_1.ServerObject[];
|
|
289
|
+
openapi: string;
|
|
290
290
|
webhooks?: Record<string, OpenAPIV3_1.PathItemObject | OpenAPIV3_1.ReferenceObject>;
|
|
291
291
|
jsonSchemaDialect?: string;
|
|
292
292
|
}>;
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { sValidator } from '@hono/standard-validator';
|
|
|
3
3
|
import { loadVendor as loadVendor$1, toJsonSchema } from '@standard-community/standard-json';
|
|
4
4
|
import { loadVendor as loadVendor$2, toOpenAPISchema } from '@standard-community/standard-openapi';
|
|
5
5
|
|
|
6
|
-
const uniqueSymbol = Symbol("openapi");
|
|
6
|
+
const uniqueSymbol = Symbol.for("hono-openapi");
|
|
7
7
|
const VALIDATION_MARKER = "__HonoOpenAPIValidator__";
|
|
8
8
|
const ALLOWED_METHODS = [
|
|
9
9
|
"GET",
|