openapi-mock
gnostic
openapi-mock | gnostic | |
---|---|---|
2 | 1 | |
470 | 1,988 | |
1.1% | 1.2% | |
1.9 | 5.1 | |
7 months ago | 18 days ago | |
Go | Go | |
MIT License | Apache License 2.0 |
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.
openapi-mock
-
How to Automatically Consume RESTful APIs in Your Frontend
Since the OpenAPI can effectively describe our resources, we can reuse it to generate a dummy server that can be later used for development and testing purposes without bootstrapping any actual services. There some tools available that can help us with this task, such as Prism, OpenAPI Mock, OpenAPI Backend and the MSW library we have already seen.
- Eskimo is a supercharged mocking server for developers and testers, that aims to abstract the complexities of coding a mock server into simple JSON configurations.
gnostic
-
gRPC gateway vs oapi-codegen etc.
The tool for generating OpenAPI docs from a proto definition is gnostic (https://github.com/google/gnostic). But see the comments in this issue about conversion the other way (from OpenAPI to proto): https://github.com/google/gnostic/issues/162
What are some alternatives?
oapi-codegen - Generate Go client and server boilerplate from OpenAPI 3 specifications
openapi-preprocessor - An authoring tool for OpenAPI specifications
swagmock - Mock data generator for swagger api
kin-openapi - OpenAPI 3.0 (and Swagger v2) implementation for Go (parsing, converting, validation, and more)
mockoon - Mockoon is the easiest and quickest way to run mock APIs locally. No remote deployment, no account required, open source.
openapi-generator-go - An opinionated OpenAPI v3 code generator for Go. Use this to generate API models and router scaffolding.
prism - Turn any OpenAPI2/3 and Postman Collection file into an API server with mocking, transformations and validations.
vacuum - vacuum is the worlds fastest OpenAPI 3, OpenAPI 2 / Swagger linter and quality analysis tool. Built in go, it tears through API specs faster than you can think. vacuum is compatible with Spectral rulesets and generates compatible reports.
openapi-go - OpenAPI structures for Go
SWR - React Hooks for Data Fetching