Skip to content

Commit

Permalink
Publish #18 with swagger v2 downgrade emending.
Browse files Browse the repository at this point in the history
  • Loading branch information
samchon committed Apr 29, 2024
1 parent a2d9c5f commit 10ecb16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@samchon/openapi",
"version": "0.1.20",
"version": "0.1.21",
"description": "OpenAPI definitions and converters for 'typia' and 'nestia'.",
"main": "./lib/index.js",
"typings": "./lib/index.d.ts",
Expand Down
1 change: 1 addition & 0 deletions src/internal/SwaggerV2Downgrader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ export namespace SwaggerV2Downgrader {
({
...downgradeSchema(collection)(input.schema),
...input,
required: (input.schema as any)?.required,
schema: undefined,
name: input.name ?? `p${i}`,
}) as any;
Expand Down

0 comments on commit 10ecb16

Please sign in to comment.