OpenAPI

Open-source projects categorized as OpenAPI

Top 23 OpenAPI Open-Source Projects

  • fastapi

    FastAPI framework, high performance, easy to learn, fast to code, ready for production

  • Project mention: Python FastAPI: Integrating OAuth2 Security with the Application's Own Authentication Process | dev.to | 2024-05-13
  • OpenAPI-Specification

    The OpenAPI Specification Repository

  • Project mention: Writing type safe API clients in TypeScript | dev.to | 2024-01-06

    And I'll be using the OpenAPI Pet Store spec file as an example.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • swagger-ui

    Swagger UI is a collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.

  • Project mention: Simplifying Angular Development with Swagger: A Step-by-Step Guide | dev.to | 2024-04-11

    Swagger is a fantastic open-source toolset that's perfect for developing and describing RESTful APIs. It offers you a user-friendly interface to understand a service's capabilities without needing to dig into the code. It even provides a way for you to interact directly with the API, which means you get to test its functionality.

  • full-stack-fastapi-template

    Full stack, modern web application template. Using FastAPI, React, SQLModel, PostgreSQL, Docker, GitHub Actions, automatic HTTPS and more.

  • Project mention: Building a Secure API with FastAPI, PostgreSQL, and Hanko Authentication | dev.to | 2023-10-30

    This project is a modification of the authentication flow of the awesome repository made by tiangolo at full-stack-fastapi-postgresql

  • redoc

    📘 OpenAPI/Swagger-generated API Reference Documentation

  • Project mention: Best Software Documentation Tools | dev.to | 2024-02-05

    ReDoc Interactive Demo

  • openapi-generator

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

  • Project mention: Which tricks do you use to write less code? | news.ycombinator.com | 2024-05-10

    I found some "tricks" to write less code, hence less code to maintain if there are any changes. Also less code with bugs just by changing the inputs.

    For example, OpenAPI spec file + OpenAPI generator (https://github.com/OpenAPITools/openapi-generator). Any changes in the OpenAPI spec are reflected in the final code with a build step.

    Another example: MapStruct (https://mapstruct.org/) to avoid passing data from Entity classes to DTO and back. Saves looots of boilerplate code.

    Which are your tricks?

  • grpc-gateway

    gRPC to JSON proxy generator following the gRPC HTTP spec

  • Project mention: I write HTTP services in Go after 13 years (Mat Ryer, 2024) | news.ycombinator.com | 2024-02-09

    it lacks flexibility but i really enjoy grpc-gateway for 99% of my work

    https://github.com/grpc-ecosystem/grpc-gateway

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

    InfluxDB logo
  • swag

    Automatically generate RESTful API documentation with Swagger 2.0 for Go.

  • Project mention: Seeking Advice on the Best Swagger Generation Approach for REST API | /r/golang | 2023-12-05

    Hey Gophers, I'm exploring Swagger generation for a REST API in Go (using go-chi). Currently, I'm testing https://github.com/swaggo/swag/, but I'm uncertain if it's the optimal solution. What are your thoughts or recommendations?

  • API Platform

    Create REST and GraphQL APIs, scaffold Jamstack webapps, stream changes in real-time.

  • Project mention: Consistent validation with API Platform 3 | dev.to | 2024-05-12

    API Platform is a great tool for rapid API development, but it has a lot of not-so-well-documented features which can sometimes lead to confusion. Playing around with a new project of mine I've stumbled into one: tests were failing for my validation assertions of endpoints' responses!

  • swagger-core

    Examples and server integrations for generating the Swagger API Specification, which enables easy access to your REST API

  • NSwag

    The Swagger/OpenAPI toolchain for .NET, ASP.NET Core and TypeScript.

  • Project mention: TypeSpec: A New Language for API-Centric Development | news.ycombinator.com | 2024-04-29

    https://github.com/RicoSuter/NSwag

    There is no need to be facetious solutions like these exist for many platforms and ecosystems out there.

    With best regards.

  • django-ninja

    💨 Fast, Async-ready, Openapi, type hints based framework for building APIs

  • Project mention: Ask HN: What Underrated Open Source Project Deserves More Recognition? | news.ycombinator.com | 2024-03-07

    Django Ninja [1], it forever changed how I write Django project, in a way so elegant and productive.

    [1]: https://django-ninja.dev/

  • mockoon

    Mockoon is the easiest and quickest way to run mock APIs locally. No remote deployment, no account required, open source.

  • Project mention: Handling Firebase Notifications in Flutter: Practical Tips | dev.to | 2024-01-14

    Mockoon - Used as a logging server instead of using print in the console.

  • springfox

    Automated JSON API documentation for API's built with Spring

  • goa

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

  • Project mention: IBM to Acquire HashiCorp, Inc | news.ycombinator.com | 2024-04-24

    My experience of Golang is that dependency injection doesn't really have much benefit. It felt like a square peg in a round hole exercise when my team considered it. The team was almost exclusively Java/Typescript Devs so it was something that we thought we needed but I don't believe we actually missed once we decided to not pursue it.

    If you are looking at OpenAPI in Golang I can recommend having a look at https://goa.design/. It's a DSL that generates OpenAPI specs and provides an implementation of the endpoints described. Can also generate gRPC from the same definitions.

    We found this removed the need to write almost all of the API layer and a lot of the associated validation. We found the generated code including the server element to be production ready from the get go.

  • oapi-codegen

    Generate Go client and server boilerplate from OpenAPI 3 specifications

  • Project mention: TypeSpec: A New Language for API-Centric Development | news.ycombinator.com | 2024-04-29
  • go-restful

    package for building REST-style Web Services using Go

  • mitmproxy2swagger

    Automagically reverse-engineer REST APIs via capturing traffic

  • loopback-next

    LoopBack makes it easy to build modern API applications that require complex integrations.

  • openapi-typescript

    Generate TypeScript types from OpenAPI 3 specs

  • Project mention: TypeSpec: A New Language for API-Centric Development | news.ycombinator.com | 2024-04-29
  • autorest

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

  • litestar

    Production-ready, Light, Flexible and Extensible ASGI API framework | Effortlessly Build Performant APIs

  • Project mention: Litestar – powerful, flexible, and highly performant Python ASGI framework | news.ycombinator.com | 2024-02-26

    What would you like to see here? Could you perhaps open an issue at https://github.com/litestar-org/litestar so we can track and implement this?

    If you are just needing a client what you need should be available OOTB, unless you want more hands off.

    Here is also a good article for example: https://dev.to/pbaletkeman/secure-python-litestar-site-with-...

  • connexion

    Connexion is a modern Python web framework that makes spec-first and api-first development easy.

  • Project mention: Write OpenAPI with TypeSpec | news.ycombinator.com | 2024-03-27

    I like the idea, especially the TS-like syntax around enums and union types. I've always preferred the SDL for GraphQL vs writing OpenAPI for similar reasons.

    I echo the sentiment others have brought up, which is the trade-offs of a code-driven schema vs schema-driven code.

    At work we use Pydantic and FastAPI to generate the OpenAPI contract, but there's some cruft and care needed around exposing those underlying Pydantic models through the API documentation. It's been easy to create schemas that have compatibility problems when run through other code generators. I know there are projects such as connexction[1] which attempt to inverse this, but I don't have much experience with it. In the GraphQL space it seems that code-first approaches are becoming more favored, though there's a different level of complexity needed to create a "typesafe" GraphQL server (eg. model mismatches between root query resolvers and field resolvers).

    [1] https://github.com/spec-first/connexion

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
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).

OpenAPI related posts

  • TypeSpec: A New Language for API-Centric Development

    11 projects | news.ycombinator.com | 29 Apr 2024
  • The Stainless SDK Generator

    10 projects | news.ycombinator.com | 24 Apr 2024
  • FastAPI Got Me an OpenAPI Spec Really... Fast

    4 projects | dev.to | 22 Apr 2024
  • Show HN: Pre-alpha tool for analyzing spdx SBOMs generated by GitHub

    3 projects | news.ycombinator.com | 21 Apr 2024
  • Show HN: Nuxt.js OpenAPI / Swagger API Reference Documentation

    1 project | news.ycombinator.com | 20 Apr 2024
  • Show HN: Konfig – SDKs for APIs to write and maintain less API integration

    2 projects | news.ycombinator.com | 3 Apr 2024
  • Fern: Toolkit to generate SDKs and Docs for your API

    1 project | news.ycombinator.com | 3 Apr 2024
  • A note from our sponsor - SurveyJS
    surveyjs.io | 15 May 2024
    With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js. Learn more →

Index

What are some of the best open-source OpenAPI projects? This list will help you:

Project Stars
1 fastapi 71,444
2 OpenAPI-Specification 28,318
3 swagger-ui 25,610
4 full-stack-fastapi-template 23,404
5 redoc 22,601
6 openapi-generator 20,021
7 grpc-gateway 17,455
8 swag 9,867
9 API Platform 8,306
10 swagger-core 7,348
11 NSwag 6,513
12 django-ninja 6,310
13 mockoon 5,904
14 springfox 5,900
15 goa 5,474
16 oapi-codegen 5,268
17 go-restful 4,983
18 mitmproxy2swagger 4,856
19 loopback-next 4,852
20 openapi-typescript 4,681
21 autorest 4,492
22 litestar 4,511
23 connexion 4,422

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com