Created
March 20, 2021 09:32
-
-
Save haedaal/a771d6f3df337b624ae8a2c2d176c0db to your computer and use it in GitHub Desktop.
enum test spec for openapi generator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"components": { | |
"examples": {}, | |
"headers": {}, | |
"parameters": {}, | |
"requestBodies": {}, | |
"responses": {}, | |
"schemas": { | |
"BooleanEnum": { | |
"enum": ["true", "false"], | |
"type": "boolean" | |
}, | |
"NumberEnum": { | |
"enum": [1, 2, 3, 4], | |
"type": "number" | |
}, | |
"StringEnum": { | |
"enum": ["String1", "String2", "String3", "String4"], | |
"type": "string" | |
} | |
}, | |
"securitySchemes": {} | |
}, | |
"info": { | |
"title": "", | |
"version": "1.0.0" | |
}, | |
"openapi": "3.0.0", | |
"paths": {}, | |
"servers": [ | |
{ | |
"url": "http://localhost:8080/api/v1" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment