Skip to content

Define errors' model for Swagger docs #83

@utrack

Description

@utrack

Since grpc-ecosystem/grpc-gateway#1127 it's possible to define an Error message via registering .grpc.gateway.runtime.Error and .grpc.gateway.runtime.StreamError.

Right now, these definitions are explicitly disabled in clay via SetDisableDefaultErrors(true), but it would be great to reenable them if the user somehow provides an Error when generating Go code.

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