gen_openapi_errors

command
v0.1.0-alpha.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2026 License: AGPL-3.0 Imports: 17 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL