mcp-openapi-schema-explorer
Version:
MCP OpenAPI schema explorer
56 lines (55 loc) • 1.05 kB
JSON
{
"openapi": "3.0.0",
"info": {
"title": "Multi Component Type Test API",
"version": "1.0.0"
},
"paths": {
"/ping": {
"get": {
"summary": "Ping",
"operationId": "ping",
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Pong"
}
}
}
}
},
"parameters": [
{
"$ref": "#/components/parameters/TraceId"
}
]
}
}
},
"components": {
"schemas": {
"Pong": {
"type": "object",
"properties": {
"message": {
"type": "string"
}
}
}
},
"parameters": {
"TraceId": {
"name": "X-Trace-ID",
"in": "header",
"required": false,
"schema": {
"type": "string",
"format": "uuid"
}
}
}
}
}