oapi-codegen VS sqlc

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

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
oapi-codegen sqlc
64 169
5,178 10,837
4.9% 5.6%
9.1 9.7
5 days ago 6 days ago
Go Go
Apache License 2.0 MIT License
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.

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.

sqlc

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

What are some alternatives?

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

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

sqlx - general purpose extensions to golang's database/sql

GoSwagger - Swagger 2.0 implementation for go

GORM - The fantastic ORM library for Golang, aims to be developer friendly

ogen - OpenAPI v3 code generator for go

SQLBoiler - Generate a Go ORM tailored to your database schema.

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

ent - An entity framework for Go

go-oas3 - Open API v3 server code generator

jet - Type safe SQL builder with code generation and automatic query result data mapping

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

pgx - PostgreSQL driver and toolkit for Go