openapi-merger
Version:
Yet another CLI tool for merging multiple OpenAPI files into a single file.
24 lines (23 loc) • 592 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':
description: Expected response to a valid request
content:
application/json:
schema:
$ref: ../components/schemas/pet/Pet.yaml
default:
description: unexpected error
content:
application/json:
schema:
$ref: ../components/schemas/Error.yaml