Huma 2.0, it's like FastAPI for Go built on OpenAPI 3.1 and JSON Schema
Huma 2.0, it's like FastAPI for Go built on OpenAPI 3.1 and JSON Schema
I've released Huma 2.0, which is a rewrite I've been working on for the past year based on Go 1.20 and newer. It is updated for OpenAPI 3.1 & JSON Schema 2020-12 and works similar to FastAPI in that you define structs and API operations and then Huma generates the OpenAPI and documentation for you, which you can then use to generate CLIs, SDKs, mocks, etc. This new version makes it easier to adopt as it now supports many routers, incremental adoption, and more extensibility including full access to the OpenAPI when needed. It's also much faster than v1 and makes significantly fewer dynamic memory allocations. If you are new to Go or coming from Node.js/Python/etc then there is also a more basic step-by-step tutorial you can follow at < https://huma.rocks/tutorial/installation/ >. Check it out and let me know what you think!
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Correct prediction on native model
Similar products
Jev to JSON-Schema
JSON Schema precompiler
Generate Java beans from JSON Schema
Generate Graphql schema from json schema files
Declarative Angular Forms with JSON Schema
Effortlessly Create Schema Markup with JSON-LD Generator
JSON Schema Viewer
A visual JSON schema editor
Fastify (JSON) Schema to TypeScript
Generate JSON Schema from a JSON Object