zod-openapi-share 0.0.11 → 0.0.13

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 +5 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -38,7 +38,7 @@ If you’re using hono and @hono/zod-openapi, be sure to try `zod-openapi-share`
38
38
 
39
39
  ### before (`hono` + `@hono/zod-openapi`)
40
40
 
41
- ```typescript
41
+ ```ts
42
42
  import { z, createRoute } from '@hono/zod-openapi';
43
43
 
44
44
  // Commonly Used Response Schema
@@ -154,7 +154,7 @@ const rootPostRoute = createRoute({
154
154
 
155
155
  ### after (`hono` + `@hono/zod-openapi` + `zod-openapi-share`)
156
156
 
157
- ```typescript
157
+ ```ts
158
158
  import { z } from '@hono/zod-openapi';
159
159
  import { ZodOpenAPISchema } from 'zod-openapi-share';
160
160
 
@@ -284,7 +284,7 @@ npm install hono @hono/zod-openapi zod-openapi-share
284
284
 
285
285
  https://github.com/Myxogastria0808/zod-openapi-share/tree/main/examples/nodejs/src/app/share.ts
286
286
 
287
- ```typescript
287
+ ```ts
288
288
  import { z } from '@hono/zod-openapi';
289
289
  import { ZodOpenAPISchema } from 'zod-openapi-share';
290
290
 
@@ -343,7 +343,7 @@ zodOpenAPISchemaInstance.createSchema(
343
343
 
344
344
  https://github.com/Myxogastria0808/zod-openapi-share/tree/main/examples/nodejs/src/app/route.ts
345
345
 
346
- ```typescript
346
+ ```ts
347
347
  import { z } from '@hono/zod-openapi';
348
348
  import { route } from './share.js';
349
349
 
@@ -509,7 +509,7 @@ console.log(json);
509
509
 
510
510
  - Example
511
511
 
512
- ```json
512
+ ```jsonc
513
513
  {
514
514
  "name": "example",
515
515
  "type": "module",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zod-openapi-share",
3
- "version": "0.0.11",
3
+ "version": "0.0.13",
4
4
  "description": "This package is an extension package for @hono/zod-openapi.",
5
5
  "keywords": [
6
6
  "@hono/zod-openapi",