{"repo":"danielgtaylor/huma","free":true,"listed":false,"github":"https://github.com/danielgtaylor/huma","clone":"git clone https://github.com/danielgtaylor/huma.git","description":"Huma REST/HTTP API Framework for Golang with OpenAPI 3.1","language":"Go","stars":4323,"topics":["golang-library","openapi3","json-schema","documentation","openapi-server","api","rest","web","framework","swagger-ui"],"license":"MIT","category":"docs-static-sites","readme_excerpt":"🌎中文文档 🇯🇵日本語ドキュメント - What is huma? - Install - Example - Documentation A modern, simple, fast & flexible micro framework for building HTTP REST/RPC APIs in Go backed by OpenAPI 3 and JSON Schema. Pronounced IPA: /'hjuːmɑ/. The goals of this project are to provide: - Incremental adoption for teams with existing services - Bring your own router (including Go 1.22+), middleware, and logging/metrics - Extensible OpenAPI & JSON Schema layer to document existing routes - A modern REST or HTTP RPC API backend framework for Go developers - Described by OpenAPI 3.1 & JSON Schema - Guard rails to prevent common mistakes - Documentation that can't get out of date - High-quality generated developer tooling Features include: - Declarative interface on top of your router of choice: - Operation & model documentation - Request params (path, query, header, or cookie) - Request body - Responses (including errors) - Response headers - JSON Errors using RFC9457 and application/problem+json by default (but can be changed) - Per-operation request size limits with sane defaults - Content negotiation between server and client - Support for JSON (RFC 8259) and optionally CBOR (RFC 7049) content types via the Accept header with the default config. - Conditional requests support, e.g. If-Match or If-Unmodified-Since header utilities. - Optional automatic generation of PATCH operations that support: - RFC 7386 JSON Merge Patch - RFC 6902 JSON Patch - Shorthand patches - Annotated Go types for input an","default_branch":null,"files":null,"tree":[],"storefront":"/r/danielgtaylor","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/danielgtaylor/huma/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}