Last active
March 22, 2018 15:29
-
-
Save JLNNN/fad9b3cd94017172921be71e96b01a67 to your computer and use it in GitHub Desktop.
unable to start server (DapperDox/dapperdox)
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
{ | |
"openapi": "3.0.0", | |
"servers": [ | |
{ | |
"url": "https://api.test.lulu.com" | |
} | |
], | |
"info": { | |
"version": "1", | |
"description": "The Platform provides APIs for creating, processing and ordering both electronical and printed books.", | |
"title": "Universal Publishing Platform API" | |
}, | |
"paths": { | |
"/pet": { | |
"post": { | |
"tags": ["pet"], | |
"summary": "Add a new pet to the store", | |
"description": "", | |
"operationId": "addPet", | |
"consumes": ["application/json", "application/xml"], | |
"produces": ["application/xml", "application/json"], | |
"parameters": [{ | |
"in": "body", | |
"name": "body", | |
"description": "Pet object that needs to be added to the store", | |
"required": true, | |
"schema": { | |
"$ref": "#/defs/PageSize" | |
}, | |
"x-schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/defs/PageSize" | |
} | |
} | |
}], | |
"responses": { | |
"405": { | |
"description": "Invalid input" | |
} | |
} | |
}, | |
"put": { | |
"tags": ["pet"], | |
"summary": "Update an existing pet", | |
"description": "", | |
"operationId": "updatePet", | |
"consumes": ["application/json", "application/xml"], | |
"produces": ["application/xml", "application/json"], | |
"parameters": [{ | |
"in": "body", | |
"name": "body", | |
"description": "Pet object that needs to be added to the store", | |
"required": true, | |
"schema": { | |
"$ref": "#/defs/PageSize" | |
} | |
}], | |
"responses": { | |
"400": { | |
"description": "Invalid ID supplied" | |
}, | |
"404": { | |
"description": "Pet not found" | |
}, | |
"405": { | |
"description": "Validation exception" | |
} | |
}, | |
"security": [{ | |
"petstore_auth": ["write:pets", "read:pets"] | |
}] | |
} | |
} | |
}, | |
"defs": { | |
"Page": { | |
"title" : "Page", | |
"name": "page", | |
"in": "query", | |
"schema": { | |
"type": "integer" | |
}, | |
"description": "Result page, default: 1" | |
}, | |
"PageSize": { | |
"title" : "PageSize", | |
"name": "page_size", | |
"in": "query", | |
"schema": { | |
"type": "integer" | |
}, | |
"description": "The default is 100." | |
} | |
}, | |
"security": [ | |
{ | |
"oauth2": [] | |
} | |
] | |
} |
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
{ | |
"openapi": "3.0.0", | |
"servers": [ | |
{ | |
"url": "https://api.test.lulu.com" | |
} | |
], | |
"info": { | |
"version": "1", | |
"description": "The Platform provides APIs for creating, processing and ordering both electronical and printed books.", | |
"title": "Universal Publishing Platform API" | |
}, | |
"paths": { | |
"/pet": { | |
"post": { | |
"tags": ["pet"], | |
"summary": "Add a new pet to the store", | |
"description": "", | |
"operationId": "addPet", | |
"consumes": ["application/json", "application/xml"], | |
"produces": ["application/xml", "application/json"], | |
"parameters": [{ | |
"in": "body", | |
"name": "body", | |
"description": "Pet object that needs to be added to the store", | |
"required": true, | |
"schema": { | |
"$ref": "#/definitions/PageSize" | |
}, | |
"x-schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/definitions/PageSize" | |
} | |
} | |
}], | |
"responses": { | |
"405": { | |
"description": "Invalid input" | |
} | |
} | |
}, | |
"put": { | |
"tags": ["pet"], | |
"summary": "Update an existing pet", | |
"description": "", | |
"operationId": "updatePet", | |
"consumes": ["application/json", "application/xml"], | |
"produces": ["application/xml", "application/json"], | |
"parameters": [{ | |
"in": "body", | |
"name": "body", | |
"description": "Pet object that needs to be added to the store", | |
"required": true, | |
"schema": { | |
"$ref": "#/definitions/PageSize" | |
} | |
}], | |
"responses": { | |
"400": { | |
"description": "Invalid ID supplied" | |
}, | |
"404": { | |
"description": "Pet not found" | |
}, | |
"405": { | |
"description": "Validation exception" | |
} | |
}, | |
"security": [{ | |
"petstore_auth": ["write:pets", "read:pets"] | |
}] | |
} | |
} | |
}, | |
"definitions": { | |
"Page": { | |
"title" : "Page", | |
"name": "page", | |
"in": "query", | |
"schema": { | |
"type": "integer" | |
}, | |
"description": "Result page, default: 1" | |
}, | |
"PageSize": { | |
"title" : "PageSize", | |
"name": "page_size", | |
"in": "query", | |
"schema": { | |
"type": "integer" | |
}, | |
"description": "The default is 100." | |
} | |
}, | |
"security": [ | |
{ | |
"oauth2": [] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment