restish
rest-api-description
Our great sponsors
restish | rest-api-description | |
---|---|---|
8 | 3 | |
645 | 1,311 | |
- | 2.1% | |
6.7 | 0.0 | |
4 days ago | 6 days ago | |
Go | ||
MIT License | MIT License |
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
rest-api-description
-
Enabling the Future of GitHub's REST API with API Versioning
Author here!
Honestly, we found that media types within the GitHub API had just got pretty confusing as we use them for so many things - "feature previews", response formats, versions (https://docs.github.com/en/rest/overview/media-types?apiVers...). We didn't want to overload them anymore.
Just so you know, we published OpenAPI specifications for all of our API versions on GitHub: https://github.com/github/rest-api-description/tree/main/des...
-
Mapping OpenAPI to the CLI
Let's take a look at a real-world example from the Github V3 OpenAPI. Here is a truncated version of the code search operation:
-
Spring-boot generate webservice with security from remote swagger
Now, some webservice propose a swagger (AKA openapi) that displays the resources available, as well as the security requirement to access those resources. Example github proposes https://github.com/github/rest-api-description
What are some alternatives?
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
fosite - Extensible security first OAuth 2.0 and OpenID Connect SDK for Go.
vulcain - Fast and idiomatic client-driven REST APIs.
awesome-cli-frameworks - Collection of tools to build beautiful command line interface in different languages
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
openapi-go - OpenAPI structures for Go
cq - Clojure Command-line Data Processor for JSON, YAML, EDN, XML and more
full-stack-fastapi-template - Full stack, modern web application template. Using FastAPI, React, SQLModel, PostgreSQL, Docker, GitHub Actions, automatic HTTPS and more.
ohm - The Openapi-HyperMedia format (OHM), is a format used to describe REST level 3 APIs.
openapi-generator - OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)