Sonar helps you commit clean code every time. With over 600 unique rules to find Java bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work. Learn more →
Top 10 Java Openapi3 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)
Project mention: Ask HN: Do you use JSON Schema? Help us shape its future stability guarantees | news.ycombinator.com | 2023-01-30- Most YAML based configuration files.
GraphQL doesn't quite supersede JSONSchema because it doesn't deal with validation. (Something like Cue (https://cuelang.org/) might)
Type systems are not typically cross-language, which is where JSONSchema tends to be used a lot.
There are indeed a lot of openapi-based client generators. This one, for example, has been around for quite some time: https://github.com/OpenAPITools/openapi-generator
-
swagger-core
Examples and server integrations for generating the Swagger API Specification, which enables easy access to your REST API
Examples include Swagger-Core, SpringFox, NSwag / Swashbuckle, Swagger-express / HAPI-Swagger, Django-REST-Swagger / Flask-RESTplus, etc.
-
Sonar
Write Clean Java Code. Always.. Sonar helps you commit clean code every time. With over 600 unique rules to find Java bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.
-
The SpringDoc library comes with lots of annotations to tune your REST API specification precisely. Anyway, that's out of context of this article.
-
Project mention: How do you ensure contracts consistency between microservices? | reddit.com/r/typescript | 2022-09-11
One option is to use OpenAPI to define the contracts. And then when you update the definitions, run something like https://github.com/OpenAPITools/openapi-diff to make sure there are no incompatibilities.
-
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.
I really wanted to keep as much of the doc on Javadoc but maybe some day I will use some sort of system like znai or just write a single doc in ansidoc but I really only had time for Javadoc.... which I have said in the past how much I hate javadoc (link to come) so I'm a big hypocrite.
-
-
-
InfluxDB
Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.
-
spring-boot-freemarker-java-mail-api
POC that sends emails to user on account creation event occurrence: made using java spring boot, apache freemarker, java-mail-API, bootstrap email editor and spring events.
-
Project mention: Spring boot Google-OAUTH2 with resource server & config server(In progress) with IAC deployment | reddit.com/r/microservices | 2022-07-22
-
Java Openapi3 related posts
- How to write robust REST API with OpenAPI
- What do I need to refactor in my routes?
- What do you think about generating OpenAPI specs from code?
- Designing a secure API
- Pulling out OpenAPI 3.0 Specifications from SpringBoot
- Eureka Service Registration and Discovery
- Q: what do you use to generate code from an OpenAPI spec
-
A note from our sponsor - Sonar
www.sonarsource.com | 1 Feb 2023
Index
What are some of the best open-source Openapi3 projects in Java? This list will help you:
Project | Stars | |
---|---|---|
1 | openapi-generator | 15,081 |
2 | swagger-core | 7,122 |
3 | springdoc-openapi | 2,332 |
4 | openapi-diff | 519 |
5 | znai | 194 |
6 | tcases | 163 |
7 | swagger-petstore | 126 |
8 | spring-boot-freemarker-java-mail-api | 4 |
9 | spring-web-flux-todo-app | 3 |
10 | docserver | 2 |