utrack / clay

Proto-first minimal server platform for gRPС+REST+Swagger APIs
MIT License
290 stars 37 forks source link

template.go:1056] no message found: Error #81

Closed bullgare closed 4 years ago

bullgare commented 4 years ago

From time to time while using goclay I see these messages in shell:

template.go:1056] no message found: Error

In this situation an extra code for swagger is being generated:

"default": {
  "description": "An unexpected error response",
  "schema": {
    "$ref": "#/definitions/"
  }
}

Which leads to issues on swagger-ui with outputting resources.

As far as I understood, it happens when .pb.goclay.go is already exist.

utrack commented 4 years ago

The problem can be caused by new grpc-gateway's genswagger; I'll get on it soon.

bullgare commented 4 years ago

Thanks! Will be waiting patiently :)