Skip to content

OpenAPI types break #72

@prescottprue

Description

@prescottprue

We use types generated from our OpenAPI spec with openapi-fetch to call endpoints. When adding @platformatic/mcp we are seeing an issue where generated types for all endpoints are impacted by the /mcp endpoint (when it is removed there is no impact)

A simple workaround could be allowing for passing schema for the MCP endpoint the same way that fastify allows for standard endpoints - this way you could pass schema.tags, and hide using @fastify/swagger's hiddenTag option

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions