postman-mcp-server

create_api_schema

Create a schema for an API

Input Schema

NameRequiredDescriptionDefault
apiIdYesAPI ID
filesYesSchema files
typeYesSchema type

Input Schema (JSON Schema)

{ "properties": { "apiId": { "description": "API ID", "type": "string" }, "files": { "description": "Schema files", "items": { "properties": { "content": { "description": "File content", "type": "string" }, "path": { "description": "File path", "type": "string" }, "root": { "properties": { "enabled": { "description": "Tag as root file (protobuf only)", "type": "boolean" } }, "type": "object" } }, "required": [ "path", "content" ], "type": "object" }, "type": "array" }, "type": { "description": "Schema type", "enum": [ "proto:2", "proto:3", "graphql", "openapi:3_1", "openapi:3", "openapi:2", "openapi:1", "raml:1", "raml:0_8", "wsdl:2", "wsdl:1", "asyncapi:2" ], "type": "string" } }, "required": [ "apiId", "type", "files" ], "type": "object" }

You must be authenticated.

Other Tools