UNPKG

ibm-openapi-validator

Version:

Configurable and extensible validator/linter for OpenAPI documents

42 lines (41 loc) 842 B
{ "openapi": "3.0.0", "info": { "title": "Trailing comma Testcase (Test)", "description": "API doc with trailing commas", "version": "1.0.0" }, "paths": { "/v1/thing": { "get": { "operationId": "get_foo", "parameters": [ { "name": "name", "in": "query", "schema": { "type": "string" }, "required": true }, { "name": "type", "in": "header", "schema": { "type": "string" }, "required": true }, ], "responses": { "201": { "description": "Created" }, "default": { "description": "An error occurred." } } } } } }