swagger: '2.0' x-reverb: addAnythingYouWant: true info: x-reverb-info: 'this is an example' version: 1.0.9-abcd title: 'Swagger Sample API' description: 'A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification' termsOfService: 'http://helloreverb.com/terms/' contact: {name: 'wordnik api team', url: 'http://developer.wordnik.com'} license: {name: 'Creative Commons 4.0 International', url: 'http://creativecommons.org/licenses/by/4.0/'} host: my.api.com basePath: /v1 schemes: - http - https consumes: - application/json produces: - application/json - application/xml paths: x-reverb-path-info: 'vendor info' /pets: {x-vendor-method: {}, get: {x-vendor-operation-property: {}, description: 'Returns a pet based on ID', summary: 'Find pet by ID', operationId: getPetsById, produces: [application/json, text/html], parameters: [{x-vendor-parameter-property: {}, name: petId, in: path, description: 'ID of pet that needs to be fetched', required: true, type: array, items: {type: string}, collectionFormat: csv}], responses: {'200': {description: 'pet response', schema: {$ref: Pet}}, x-vendor-operation-response-property: {}, default: {description: 'error payload', schema: {$ref: ErrorModel}}}}} definitions: Pet: {x-vendor-model-property: {}, required: [name], properties: {name: {type: string}, tag: {type: string}}} ErrorModel: {required: [code, message], properties: {code: {type: integer, format: int32}, message: {type: string}}}