Skip to content

default + omitempty causes a panic #907

@domdomegg

Description

@domdomegg

This is valid: in that if not present, the server should omit it from response bodies. But as a request body it should be filled in with the default / at least annotated in the OpenAPI schema as the default value.

Will work on an MRE to demonstrate this

Context: modelcontextprotocol/registry#631

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions