Skip to content

Support OpenAPI schema annotations on enum types #481

Description

@jalaziz

OpenAPI v3 annotations currently support files, methods, messages, and message fields, but not protobuf enum types.

Because protoc-gen-openapi generates enum schemas inline, there is no simple way to attach enum-level schema metadata (e.g. title, description, example, or default). In our case, this prevents downstream documentation renderers from using those values when generating examples for enum-typed fields.

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