Documentation
¶
Overview ¶
gen_openapi_errors generates OpenAPI default responses for each operation.
The error set of a service method is inferred from the implementation by erroranalysis, which follows the error value through the call graph. The "errors:" doc comments on the service interfaces are no longer the source of truth; where one disagrees with the code, the generator reports the drift and the code wins.
Paths are calculated relative to this generator's location:
- Domain: ../../../internal/domain
- Service: ../../../internal/service
- OpenAPI: ../../openapi
Click to show internal directories.
Click to hide internal directories.