SaaSHub helps you find the best software and product alternatives Learn more →
Top 20 Java OpenAPI 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)
-
swagger-core
Examples and server integrations for generating the Swagger API Specification, which enables easy access to your REST API
-
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.
-
Swagger Plugin for JetBrains
A plugin to help you easily edit Swagger and OpenAPI specification files inside IntelliJ IDEA
-
cats
CATS is a REST API Fuzzer and negative testing tool for OpenAPI endpoints. CATS automatically generates, runs and reports tests with minimum configuration and no coding effort. Tests are self-healing and do not require maintenance. (by Endava)
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
znai
Build functional, maintainable, beautiful User Guides with markdown and Znai plugins. Instant pages navigation. Local search. Multiple integrations to work with Python, Java, C++, OpenAPI, etc. Transform "getting started" sections into slideshow for your workshops. Manage multiple documentations with self-deployed znai hub.
-
proteus
Proteus is a blazing fast minimalist Java web server framework built atop Undertow. (by noboomu)
-
openapi-json-schema-generator
OpenAPI JSON Schema Generator allows auto-generation of API client libraries with a focus on JSON schema given an OpenAPI document
-
oauth1-signer-java
Zero dependency library for generating a Mastercard API compliant OAuth signature.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
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?
The issue is that the springdoc-openapi BOM brings an old version of the Spring Framework 6.0, which is incompatible with Spring Boot 3.2. There are several ways to solve this problem: update springdoc, change the order of BOM imports, but the best, in my opinion, is to avoid using the io.spring.dependency-management plugin.
Project mention: Ask HN: What Underrated Open Source Project Deserves More Recognition? | news.ycombinator.com | 2024-03-07
Introducing our star player for detecting breaking changes: OpenAPI Diff. The good news? You can fire it up locally with Docker. Here’s how:
Now, we can start our server and visit the Swagger UI at http://localhost:port/documentation. The documentation will be empty for now, but we will add our endpoints later on. You can also have a look at how the Swagger UI looks in the Swagger's online demo.
Java OpenAPI related posts
-
Yet Another REST API Fuzzer
-
OpenAPI JSON Schema generator v3.0.0 released
-
CWE Top Most Dangerous Software Weaknesses
-
OpenAPI in a serverless repo
-
It's 2023. Your API should have a schema
-
Question regarding how to find projects on GitHub to help out writing API documentation for
-
Looking for an alternative to NSwag
-
A note from our sponsor - SaaSHub
www.saashub.com | 16 May 2024
Index
What are some of the best open-source OpenAPI projects in Java? This list will help you:
Project | Stars | |
---|---|---|
1 | openapi-generator | 20,021 |
2 | swagger-core | 7,348 |
3 | springfox | 5,902 |
4 | Light-Java | 3,603 |
5 | springdoc-openapi | 3,110 |
6 | Swagger Plugin for JetBrains | 1,161 |
7 | cats | 1,099 |
8 | openapi-diff | 753 |
9 | spring-petclinic-rest | 439 |
10 | grpc-swagger | 412 |
11 | znai | 237 |
12 | swagger-petstore | 222 |
13 | tcases | 205 |
14 | RESTest | 202 |
15 | proteus | 185 |
16 | openapi-json-schema-generator | 123 |
17 | oauth1-signer-java | 43 |
18 | MicrostarterCli | 16 |
19 | docserver | 3 |
20 | openapi-spring-generator-example | 0 |
Sponsored