Last active
October 29, 2017 15:35
-
-
Save derveloper/94b5214856434e61bf466840cc3fbdab to your computer and use it in GitHub Desktop.
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": {"schemas": {"ExampleSchema": { | |
"properties": {"foo": {"type": "string"}}, | |
"type": "object" | |
}}}, | |
"info": { | |
"title": "jjjj", | |
"version": "1.0" | |
}, | |
"openapi": "3.0.0", | |
"paths": { | |
"/bar": {"put": { | |
"description": "bar", | |
"operationId": "", | |
"responses": {} | |
}}, | |
"/baz": {"post": { | |
"description": "bar", | |
"operationId": "", | |
"responses": {} | |
}}, | |
"/del": {"delete": { | |
"description": "bar", | |
"operationId": "", | |
"responses": {} | |
}}, | |
"/foo": {"get": { | |
"description": "fooo", | |
"operationId": "", | |
"responses": {"200": { | |
"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ExampleSchema"}}}, | |
"description": "some response" | |
}} | |
}}, | |
"/patch": {"patch": { | |
"description": "bar", | |
"operationId": "", | |
"responses": {} | |
}} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment