openapi-merger
Version:
Yet another CLI tool for merging multiple OpenAPI files into a single file.
16 lines (15 loc) • 370 B
YAML
# /pets/{petId}
get:
summary: Info for a specific pet
operationId: showPetById
tags:
$include: ../components/tags.yaml#/tags/pet
parameters:
- $include: ../components/parameters/PetId.yaml
in: path
required: true
responses:
'200':
$ref: ../components/responses/Pet.yaml
default:
$ref: ../components/responses/Error.yaml