Documentation
¶
Overview ¶
Command contract generates AuthKit's HTTP contract from the route catalog (httpapi.Catalog) and the error catalog: api/openapi.json, and auth-ui's generated wire types, route table and error codes and messages. Run it with go generate ./internal/httpapi; TestGeneratedContractIsFresh fails when a generated file is stale.
Click to show internal directories.
Click to hide internal directories.