contract

command
v0.148.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2026 License: MIT Imports: 19 Imported by: 0

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.

Jump to

Keyboard shortcuts

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