You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
utrack
changed the title
Define errors' model in Swagger docs
Define errors' model for Swagger docs
Mar 10, 2020
Temporarily force-disabled errors definitions for generated Swagger defs
until we figure out the best approach to set them up and customize them.
Closes#81, refs #83
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 anError
when generating Go code.The text was updated successfully, but these errors were encountered: