Registers a handler that serves the embedded OpenAPI 3.0 spec (compiled into the binary via oapi-codegen) at a browseable endpoint. Uses gen.GetSwagger() to deserialize the embedded base64+gzip spec and returns it as JSON. 46 paths, 42 schemas — agents and humans can now introspect the full API surface without reading Go source.
34 KiB
34 KiB