Documentation
README
Adopt the lib-commons Huma OpenAPI Wrapper
When to use
- A Go service needs code-first OpenAPI 3.1 over Fiber (Huma) with RFC 9457
application/problem+jsonerrors - User asks to "adopt the lib-commons OpenAPI/problem wrapper", "use the shared Huma wrapper", "standardize error responses on RFC 9457"
- A service already carries a local copy of the wrapper (
internal/shared/adapters/openapi,shared/openapi,shared/humaerr, a hand-rolledhuma.NewErroroverride) and should move onto the sharedlib-commons/v5/commons/net/http/{openapi,problem} - A service is still on swaggo/swag (Swagger 2.0) and is migrating to Huma
This is the opening of the README. Read the full README on GitHub.