Skip to content

Commit

Permalink
Merge pull request #1032 from samchon/features/openapi
Browse files Browse the repository at this point in the history
Upgrade `@samchon/openapi` on test program
  • Loading branch information
samchon authored Apr 15, 2024
2 parents b2a64e1 + 72730a3 commit ba0e973
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 95 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
},
"homepage": "https://typia.io",
"dependencies": {
"@samchon/openapi": "^0.1.12",
"@samchon/openapi": "^0.1.14",
"commander": "^10.0.0",
"comment-json": "^4.2.3",
"inquirer": "^8.2.5",
Expand Down
2 changes: 1 addition & 1 deletion test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"typescript": "^5.4.5"
},
"dependencies": {
"@samchon/openapi": "^0.1.12",
"@samchon/openapi": "^0.1.14",
"cli": "^1.0.1",
"protobufjs": "^7.2.5",
"randexp": "^0.5.3",
Expand Down
6 changes: 0 additions & 6 deletions test/schemas/json/v3_0/UltimateUnion.json
Original file line number Diff line number Diff line change
Expand Up @@ -246,12 +246,6 @@
"default": {
"type": "string"
},
"enum": {
"type": "array",
"items": {
"type": "string"
}
},
"format": {
"type": "string"
},
Expand Down
6 changes: 0 additions & 6 deletions test/schemas/json/v3_1/UltimateUnion.json
Original file line number Diff line number Diff line change
Expand Up @@ -227,12 +227,6 @@
"default": {
"type": "string"
},
"enum": {
"type": "array",
"items": {
"type": "string"
}
},
"format": {
"type": "string"
},
Expand Down
106 changes: 25 additions & 81 deletions test/schemas/reflect/metadata/UltimateUnion.json
Original file line number Diff line number Diff line change
Expand Up @@ -2287,62 +2287,6 @@
"description": null,
"jsDocTags": []
},
{
"key": {
"any": false,
"required": true,
"optional": false,
"nullable": false,
"functional": false,
"atomics": [],
"constants": [
{
"type": "string",
"values": [
{
"value": "enum"
}
]
}
],
"templates": [],
"escaped": null,
"rest": null,
"arrays": [],
"tuples": [],
"objects": [],
"aliases": [],
"natives": [],
"sets": [],
"maps": []
},
"value": {
"any": false,
"required": true,
"optional": true,
"nullable": false,
"functional": false,
"atomics": [],
"constants": [],
"templates": [],
"escaped": null,
"rest": null,
"arrays": [
{
"name": "Array<string>",
"tags": []
}
],
"tuples": [],
"objects": [],
"aliases": [],
"natives": [],
"sets": [],
"maps": []
},
"description": null,
"jsDocTags": []
},
{
"key": {
"any": false,
Expand Down Expand Up @@ -7204,26 +7148,34 @@
"index": null
},
{
"name": "Array<string>",
"name": "Array<OpenApi.IJsonSchema>",
"value": {
"any": false,
"required": true,
"optional": false,
"nullable": false,
"functional": false,
"atomics": [
{
"type": "string",
"tags": []
}
],
"atomics": [],
"constants": [],
"templates": [],
"escaped": null,
"rest": null,
"arrays": [],
"tuples": [],
"objects": [],
"objects": [
"OpenApi.IJsonSchema.IConstant",
"OpenApi.IJsonSchema.IBoolean",
"OpenApi.IJsonSchema.INumber",
"OpenApi.IJsonSchema.IInteger",
"OpenApi.IJsonSchema.IString",
"OpenApi.IJsonSchema.IArray",
"OpenApi.IJsonSchema.ITuple",
"OpenApi.IJsonSchema.IObject",
"OpenApi.IJsonSchema.IReference<string>",
"OpenApi.IJsonSchema.IOneOf",
"OpenApi.IJsonSchema.IUnknown",
"OpenApi.IJsonSchema.INull"
],
"aliases": [],
"natives": [],
"sets": [],
Expand All @@ -7236,7 +7188,7 @@
"index": null
},
{
"name": "Array<OpenApi.IJsonSchema>",
"name": "Array<IConstant | IBoolean | IInteger | INumber | IString | IArray | ITuple | IObject | IReference<string> | INull | IUnknown>",
"value": {
"any": false,
"required": true,
Expand All @@ -7260,7 +7212,6 @@
"OpenApi.IJsonSchema.ITuple",
"OpenApi.IJsonSchema.IObject",
"OpenApi.IJsonSchema.IReference<string>",
"OpenApi.IJsonSchema.IOneOf",
"OpenApi.IJsonSchema.IUnknown",
"OpenApi.IJsonSchema.INull"
],
Expand All @@ -7276,33 +7227,26 @@
"index": null
},
{
"name": "Array<IConstant | IBoolean | IInteger | INumber | IString | IArray | ITuple | IObject | IReference<string> | INull | IUnknown>",
"name": "Array<string>",
"value": {
"any": false,
"required": true,
"optional": false,
"nullable": false,
"functional": false,
"atomics": [],
"atomics": [
{
"type": "string",
"tags": []
}
],
"constants": [],
"templates": [],
"escaped": null,
"rest": null,
"arrays": [],
"tuples": [],
"objects": [
"OpenApi.IJsonSchema.IConstant",
"OpenApi.IJsonSchema.IBoolean",
"OpenApi.IJsonSchema.INumber",
"OpenApi.IJsonSchema.IInteger",
"OpenApi.IJsonSchema.IString",
"OpenApi.IJsonSchema.IArray",
"OpenApi.IJsonSchema.ITuple",
"OpenApi.IJsonSchema.IObject",
"OpenApi.IJsonSchema.IReference<string>",
"OpenApi.IJsonSchema.IUnknown",
"OpenApi.IJsonSchema.INull"
],
"objects": [],
"aliases": [],
"natives": [],
"sets": [],
Expand Down

0 comments on commit ba0e973

Please sign in to comment.