UNPKG

openapi-merger

Version:

Yet another CLI tool for merging multiple OpenAPI files into a single file.

27 lines (26 loc) 779 B
# /pets/{petId} get: summary: Info for a specific pet operationId: showPetById tags: - pets parameters: - name: petId in: path required: true description: The id of the pet to retrieve schema: type: string responses: '200': description: Expected response to a valid request content: application/json: schema: $ref: https://raw.githubusercontent.com/kota65535/openapi-merger/master/test/resources/petstore_3/components/schemas/Pet.yaml default: description: unexpected error content: application/json: schema: $ref: https://raw.githubusercontent.com/kota65535/openapi-merger/master/test/resources/petstore_3/components/schemas/Error.yaml