UNPKG

openapi-merger

Version:

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

27 lines (26 loc) 610 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: ../openapi.yaml#/components/schemas/Pet default: description: unexpected error content: application/json: schema: $ref: ../components/schemas/Error.yaml