Created
January 14, 2019 21:48
-
-
Save carlevans719/9e4f3f1c1282c98f2fee06681f4f9a03 to your computer and use it in GitHub Desktop.
Example of spec which would reproduce error lin apint/openapi-designer issue #354
This file contains hidden or 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
| { | |
| "paths": { | |
| "/{test}": { | |
| "get": { | |
| "operationId": "getTest", | |
| "responses": {} | |
| }, | |
| "x-oad-type": "operation" | |
| }, | |
| "/second/{test}": { | |
| "get": { | |
| "operationId": "getSecondTest", | |
| "responses": { | |
| "200": { | |
| "description": "Sample", | |
| "x-oad-type": "response" | |
| } | |
| }, | |
| "parameters": [ | |
| { | |
| "$ref": "#/parameters/test", | |
| "x-oad-type": "reference" | |
| } | |
| ] | |
| }, | |
| "x-oad-type": "operation" | |
| } | |
| }, | |
| "parameters": { | |
| "test": { | |
| "name": "test", | |
| "in": "path", | |
| "required": true, | |
| "type": "string", | |
| "x-oad-type": "parameter" | |
| } | |
| }, | |
| "swagger": "2.0" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment