@hono/zod-openapi
Advanced tools
Comparing version 0.16.0 to 0.16.1
{ | ||
"name": "@hono/zod-openapi", | ||
"version": "0.16.0", | ||
"version": "0.16.1", | ||
"description": "A wrapper class of Hono which supports OpenAPI.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -242,4 +242,4 @@ # Zod OpenAPI Hono | ||
```ts | ||
app.doc31('/docs', { openapi: '3.1.0' }) // new endpoint | ||
app.getOpenAPI31Document({ openapi: '3.1.0' }) // raw json | ||
app.doc31('/docs', { openapi: '3.1.0', info: { title: 'foo', version: '1' } }) // new endpoint | ||
app.getOpenAPI31Document({ openapi: '3.1.0', info: { title: 'foo', version: '1' } }) // schema object | ||
``` | ||
@@ -246,0 +246,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
46635