UNPKG

ibm-openapi-validator

Version:

Configurable and extensible validator/linter for OpenAPI documents

25 lines (24 loc) 563 B
openapi: 3.0.0 servers: - url: https://my-service.com/api paths: /example: get: summary: Summary responses: "200": description: OK content: application/json: schema: $ref: "./schema.yaml#/components/schemas/SchemaDef" /circular_example: get: summary: Summary responses: "200": description: OK content: application/json: schema: $ref: "./schema.yaml#/components/schemas/CircularSchema"