Top 3 Python swagger-codegen Projects
-
I believe drf-yasg what you need. You can create a schema manually and define request and response types for your small API.
-
datamodel-code-generator
Pydantic model and dataclasses.dataclass generator for easy conversion of JSON, OpenAPI, JSON Schema, and YAML data sources.
Project mention: Datamodel-code-generator: Pydantic model/dataclass from OpenAPI, JSON, YAML | news.ycombinator.com | 2023-11-16 -
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
Project mention: Show HN: OpenAPI DevTools – Chrome ext. that generates an API spec as you browse | news.ycombinator.com | 2023-10-25
You could potentially go one step further and make Python classes that wrap the whole API automatically from the OpenAPI file: https://github.com/mom1/apiclient-pydantic-generator
NOTE:
The open source projects on this list are ordered by number of github stars.
The number of mentions indicates repo mentiontions in the last 12 Months or
since we started tracking (Dec 2020).
The latest post mention was on 2023-11-16.
Python swagger-codegen related posts
Index
What are some of the best open-source swagger-codegen projects in Python? This list will help you:
Project | Stars | |
---|---|---|
1 | drf-yasg | 3,316 |
2 | datamodel-code-generator | 2,273 |
3 | apiclient-pydantic-generator | 29 |
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com