huma
huma copied to clipboard
Huma REST/HTTP API Framework for Golang with OpenAPI 3.1
Currently, the `query` parameters are optional in the generated openapi docuemntation. However, some parameters are required in the API, and they are not suitable for `path`. It would be great...
I'm having a look at the new Autopatch functionality. I send something like this: `[{"op":"replace","path":"/description","value":"MouthPieceApp123"}]` In my GET Operation, I return a model with a number of fields Marked ReadOnly,...
Bumps [github.com/labstack/echo/v4](https://github.com/labstack/echo) from 4.1.15 to 4.9.0. Release notes Sourced from github.com/labstack/echo/v4's releases. v4.9.0 Security Fix open redirect vulnerability in handlers serving static directories (e.Static, e.StaticFs, echo.StaticDirectoryHandler) #2260 Enhancements Allow configuring...
Currently Huma generates OpenAPI properties in a random order. A stable order would be preferred as it makes things like diffs much cleaner. OpenAPI is generated via `gabs` but it...
This PR adds three options for customizing the round-trip behavior of resources with read-only fields: 1. Remove (default): read-only fields are allowed and removed 2. Reject: read-only fields are not...
Hi, I'm looking at fixing the issue with DisableSchemaProperty not working... but think I've found another potential issue. the $schema property is intended to identify the dialect of json-schema used,...
Right now, I see no way to directly set the `Type` of the error as the interface `StatusError` doesn't include a method, and `huma.NewError` also doesn't accept a `type` parameter!...
If the chi router attached to huma is mounted into another router (let say - to delimit the `/api` namespace), then the OpenAPI browser rendering is broken because of failure...
My machine has crashed when I've tried to use Huma for the new micro-service that I'm developing. ``` // Node is a custom type for testing recursive definition for huma.Register...
I see that it is a common pattern with `Huma` that the body, both in the input and output, is to be created inside the nested struct field `Body`. Is...