Skip to content

Commit

Permalink
Merge pull request #19 from samchon/features/swagger
Browse files Browse the repository at this point in the history
Publish #18 with swagger v2 downgrade emending.
  • Loading branch information
samchon authored Apr 29, 2024
2 parents a2d9c5f + 10ecb16 commit 50d54b0
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 50d54b0

Please sign in to comment.