restruct VS oapi-codegen

Compare restruct vs oapi-codegen and see what are their differences.

restruct

RESTruct is a rest router written in Go to automatically create routes based on your structs. (by altlimit)

oapi-codegen

Generate Go client and server boilerplate from OpenAPI 3 specifications (by deepmap)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
restruct oapi-codegen
7 64
15 5,206
- 4.9%
5.7 9.1
4 months ago 1 day ago
Go Go
MIT License Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

restruct

Posts with mentions or reviews of restruct. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-10.

oapi-codegen

Posts with mentions or reviews of oapi-codegen. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-24.

What are some alternatives?

When comparing restruct and oapi-codegen you can also consider the following projects:

httprouter - A high performance HTTP request router that scales well

openapi-generator - OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)

waggy - The dead simple, easy-to-use library for writing HTTP handlers and routers in Go that can be used in standard HTTP server environments or in WAGI (Web Assembly Gateway Interface) environments

GoSwagger - Swagger 2.0 implementation for go

flamego - A fantastic modular Go web framework with a slim core but limitless extensibility

ogen - OpenAPI v3 code generator for go

snug - Simple stdlib compatible router with shortcuts to dump json api things

kin-openapi - OpenAPI 3.0 (and Swagger v2) implementation for Go (parsing, converting, validation, and more)

Macaron - Package macaron is a high productive and modular web framework in Go.

go-oas3 - Open API v3 server code generator

Fiber - ⚡️ Express inspired web framework written in Go

autorest - OpenAPI (f.k.a Swagger) Specification code generator. Supports C#, PowerShell, Go, Java, Node.js, TypeScript, Python