UNPKG

openapi-merger

Version:

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

33 lines (32 loc) 662 B
openapi: "3.0.0" info: version: 1.0.0 title: Swagger Petstore license: name: MIT servers: - url: http://petstore.swagger.io/v1 paths: $include: ./paths/_index.yaml components: schemas: Foo: $ref: components/schemas/Pets.yaml parameters: Foo: $ref: components/parameters/PetId.yaml responses: Foo: $ref: components/responses/Pet.yaml examples: Foo: $ref: components/examples/Pet.yaml requestBodies: Foo: $ref: components/requestBodies/Pet.yaml headers: Foo: $ref: components/headers/RateLimit.yaml securitySchemes: Foo: $ref: components/securitySchemes/oAuth2.yaml