swag VS oapi-codegen

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

swag

Simple go wrapper to create swagger compatible APIs (by savaki)

oapi-codegen

Generate Go client and server boilerplate from OpenAPI 3 specifications (by deepmap)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
swag oapi-codegen
1 65
85 5,237
- 2.7%
0.0 9.1
almost 4 years ago 1 day ago
Go Go
Apache License 2.0 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.

swag

Posts with mentions or reviews of swag. We have used some of these posts to build our list of alternatives and similar projects.
  • Auto generation of swagger files
    1 project | /r/golang | 15 May 2021
    i have been using a modified version of this: https://github.com/savaki/swag for a rather long time. but lately we started to create our own implentation. cant share that one (company internal) sadly.

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-29.

What are some alternatives?

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

gin-swagger - gin middleware to automatically generate RESTful API documentation with Swagger 2.0.

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

go-admin - 基于Gin + Vue + Element UI & Arco Design & Ant Design 的前后端分离权限管理系统脚手架(包含了:多租户的支持,基础用户管理功能,jwt鉴权,代码生成器,RBAC资源控制,表单构建,定时任务等)3分钟构建自己的中后台项目;项目文档》:https://www.go-admin.pro V2 Demo: https://vue2.go-admin.dev V3 Demo: https://vue3.go-admin.dev Antd 订阅版:https://antd.go-admin.pro

GoSwagger - Swagger 2.0 implementation for go

go-gin-example - An example of gin

ogen - OpenAPI v3 code generator for go

gin-vue-admin - 🚀Vite+Vue3+Gin的开发基础平台,支持TS和JS混用。它集成了JWT鉴权、权限管理、动态路由、显隐可控组件、分页封装、多点登录拦截、资源权限、上传下载、代码生成器、表单生成器和可配置的导入导出等开发必备功能。

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

swag - Automatically generate RESTful API documentation with Swagger 2.0 for Go.

go-oas3 - Open API v3 server code generator

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

goa - 🌟 Goa: Elevate Go API development! 🚀 Streamlined design, automatic code generation, and seamless HTTP/gRPC support. ✨