go-oas3
sideko
go-oas3 | sideko | |
---|---|---|
1 | 1 | |
20 | 45 | |
- | - | |
4.8 | 8.2 | |
about 1 month ago | 11 days ago | |
Go | Rust | |
MIT License | GNU General Public License v3.0 or later |
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.
go-oas3
-
Open API v3 Server Generator
Hello, I have worked on an open API v3 server code generator, so please take a look at https://github.com/mikekonan/go-oas3. The idea is to force the developer to write spec first disallowing him to write code differently from the specification. I've been done that on several weekends so any help or participation is welcomed. Feel free to ask questions or made a PR.
sideko
-
Show HN: Hacker News API SDKs → Code Generation in Rust
Hi Hacker News!
Patrick and Elias here. We built an SDK / Documentation generator for REST APIs. The link included shows the shiny output of our system: the docs! We generated 5 SDKs and docs from the Hacker News OpenAPI we found on GitHub. If you write code in Python, Typescript, Go, Ruby, or Rust, we’d love for you to try an SDK out!
If you want to generate SDKs for your own API try our tool here: https://github.com/Sideko-Inc/sideko
We are both software engineers, and we built this tool because we were spending too much time writing API integrations, supporting integrations, writing documentation, and manually testing APIs at our jobs. We think every engineer can benefit from spending less time on APIs.
The generator is written in Rust because we need the rich type system, macros, and general correctness emphasis to generate working code. The SDKs are typed, they simplify auth, and they handle files.
If you want to learn more, check out our complete write up here: https://sideko.substack.com/p/the-hacker-news-api-enhanced-b...
Thanks everyone,
PK and EP - [email protected]
What are some alternatives?
oapi-codegen - Generate Go client and server boilerplate from OpenAPI 3 specifications
express-zod-api - A Typescript library to help you get an API server up and running with I/O schema validation and custom middlewares in minutes.
openapi-generator-go - An opinionated OpenAPI v3 code generator for Go. Use this to generate API models and router scaffolding.
openapi-generator - OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
drf-spectacular - Sane and flexible OpenAPI 3 schema generation for Django REST framework.
actix-swagger - Swagger code generator for actix-web framework
swagger-petstore - swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition.
sc-api-rs - Stalcraft API implementation in Rust
apibrew - APIBrew is Low code software to automate building CRUDs from yaml files [Moved to: https://github.com/apibrew/apibrew]
utoipa - Simple, Fast, Code first and Compile time generated OpenAPI documentation for Rust
data-handler - APIBrew is Low code software to automate building CRUDs from yaml files [Moved to: https://github.com/tislib/apibrew]
springdoc-openapi - Library for OpenAPI 3 with spring-boot