openapi-mock VS oapi-codegen

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

openapi-mock

OpenAPI mock server with random data generation (by muonsoft)

oapi-codegen

Generate Go client and server boilerplate from OpenAPI 3 specifications (by oapi-codegen)
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured
openapi-mock oapi-codegen
2 74
505 7,293
0.2% 2.2%
0.0 8.7
about 1 year ago 13 days 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.

openapi-mock

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

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 2025-03-09.

What are some alternatives?

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

typed-openapi - Generate a headless Typescript API client from an OpenAPI spec - optionally with a @tanstack/react-query client using queryOptions

ogen - OpenAPI v3 code generator for go

swagmock - Mock data generator for swagger api

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

gnostic - A compiler for APIs described by the OpenAPI Specification with plugins for code generation and other API support tasks.

CORS - Go net/http configurable handler to handle CORS requests

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured