restish
huma
Our great sponsors
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
restish
-
Looking for Open-source web app back-end repository written in Golang
Project using APIBin for examples https://rest.sh
-
Created an API using Gin, want to create sdk for him
Also check out Restish for a CLI that will Just Work with your OpenAPI-backed service.
-
APIs in Go with Huma 2.0
And now you can test it out, e.g. with Restish:
- Restish is a CLI for interacting with REST-ish HTTP APIs
-
Mapping OpenAPI to the CLI
In this post we'll explore Restish, a CLI for APIs with built-in OpenAPI support. How does it go from an OpenAPI service description to CLI commands & arguments? Read on to find out!
- Ask HN: Simple framework/way to create command-line apps?
- Restish: CLI for interacting with REST-ish HTTP APIs
huma
- I write HTTP services in Go after 13 years (Mat Ryer, 2024)
- Huma: REST API framework for Go with OpenAPI generation
- Show HN: Go framework with builtin OpenAPI support
- Show HN: Huma 2.0, it's like FastAPI for Go built on OpenAPI 3.1 and JSON Schema
-
APIs in Go with Huma 2.0
I created a Huma v2 branch to rewrite it for Go 1.20+ improving on almost every aspect of the framework, and the 2.0.0 release is available now alongside a brand new Huma Documentation site.
-
Replacement for loopfz/gadgeto (OpenAPI 3 generator)
You might want to check https://github.com/danielgtaylor/huma I haven't explored the lib in-depth, but last time I checked it seemed like it could be a nice alternative/replacement.
-
Seeking Advice on the Best Swagger Generation Approach for REST API
Github: https://github.com/danielgtaylor/huma
-
State of OpenAPI support in Go routing/web frameworks
Huma might be an option.
- I just wanted to bring more attention to my favorite web framework: Huma
- Huma – REST/GraphQL API Framework for Golang with OpenAPI 3
What are some alternatives?
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
Gin - Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin.
fosite - Extensible security first OAuth 2.0 and OpenID Connect SDK for Go.
chi - lightweight, idiomatic and composable router for building Go HTTP services
vulcain - Fast and idiomatic client-driven REST APIs.
gqlgen - go generate based graphql server library
awesome-cli-frameworks - Collection of tools to build beautiful command line interface in different languages
Echo - High performance, minimalist Go web framework
openapi-cli-generator - Generate a CLI from an OpenAPI 3 specification
epoch - Contains primitives for marshaling/unmarshaling Unix timestamp/epoch to/from built-in time.Time type in JSON