Our great sponsors
-
spectral
A flexible JSON/YAML linter for creating automated style guides, with baked in support for OpenAPI v3.1, v3.0, and v2.0 as well as AsyncAPI v2.x.
-
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.
-
openapi-generator
OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
You can also use linters such as Stoplight's spectral to make sure the API specification is looking good.
It depends on the type of API. REST APIs are documented with the OpenAPI specification standard. If it's a GraphQL API, you use the Schema Definition Language. gRPC uses Protocol Buffers. Each type of API has its own documentation standard. There's also a specification for event-driven APIs called AsyncAPI!
That's for the technical documentation. Then there're visualisation tools, and here again you have plenty of choice. For REST, the classic is the Swagger UI, but you can also use fancy visualisations such as Redoc and others.
The other thing you want to make sure is that the server is implementing the API correctly. In this space, you can use tools such as Dredd and schemathesis, which look at the API specification and automatically test the server implementation against it.
The other thing you want to make sure is that the server is implementing the API correctly. In this space, you can use tools such as Dredd and schemathesis, which look at the API specification and automatically test the server implementation against it.
To add on: If you’re using OpenAPI/Swagger for rest documentation, then their code generator is an option for http/s client generation. IMO the quality of generated code is low and the project is a mess, but it’s not a bad start.
Related posts
- Best Software Documentation Tools
- Alguma alma caridosa UI/UX dev, para um serviço púbico gratuito, livre e de código aberto?
- How to find an open source ready front-end that needs a backend to get running?
- Simple FastAPI CRUD
- How to Connect a FastAPI Server to PostgreSQL and Deploy on GCP Cloud Run