@hono/zod-openapi 0.16.0 → 0.16.1

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/README.md +2 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -239,8 +239,8 @@ app.openapi(
239
239
  You can generate OpenAPI v3.1 spec using the following methods:
240
240
 
241
241
  ```ts
242
- app.doc31('/docs', { openapi: '3.1.0' }) // new endpoint
243
- app.getOpenAPI31Document({ openapi: '3.1.0' }) // raw json
242
+ app.doc31('/docs', { openapi: '3.1.0', info: { title: 'foo', version: '1' } }) // new endpoint
243
+ app.getOpenAPI31Document({ openapi: '3.1.0', info: { title: 'foo', version: '1' } }) // schema object
244
244
  ```
245
245
 
246
246
  ### The Registry
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hono/zod-openapi",
3
- "version": "0.16.0",
3
+ "version": "0.16.1",
4
4
  "description": "A wrapper class of Hono which supports OpenAPI.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",