The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →
Top 23 Java API 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)
-
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.
-
Apache Log4j 2
Apache Log4j 2 is a versatile, feature-rich, efficient logging API and backend for Java.
-
swagger2markup
A Swagger to AsciiDoc or Markdown converter to simplify the generation of an up-to-date RESTful API documentation by combining documentation that’s been hand-written with auto-generated API documentation.
-
Discord4J
Discord4J is a fast, powerful, unopinionated, reactive library to enable quick and easy development of Discord bots for Java, Kotlin, and other JVM languages using the official Discord Bot API.
-
serverless-java-container
A Java wrapper to run Spring, Spring Boot, Jersey, and other apps inside AWS Lambda.
-
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.
-
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)
-
Elide
Elide is a Java library that lets you stand up a GraphQL/JSON-API web service with minimal effort.
-
zerocode
A community-developed, free, opensource, automated testing framework for microservices APIs, Kafka(Data Streams) and Load testing. Zerocode Open Source enables you to create, change and maintain your automated test scenarios via simple JSON or YAML files. Visit documentation below:
-
Para
Multitenant backend server for building web and mobile apps rapidly. The backend for busy developers. (self-hosted or hosted) (by Erudika)
-
packetevents
PacketEvents is a fast and efficient multi-platform packet processing library for Minecraft. Our packet wrappers are easy to use with multi-version support.
-
jcabi-github
Java Object-Oriented Wrapper of GitHub API, with a fake implementation of the entire GitHub API (for your tests)
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Disclaimer: We're an early adopter of Stainless at Mux.
I've spent more of my time than I'd like to admit managing both OpenAPi spec files [1] and fighting with openapi-generator [2] than any sane person should have to. While it's great having the freedom to change the templates an thus generated SDKs you get with using that sort of approach, it's also super time consuming, and when you have a lot of SDKs (we have 6 generated SDKs), in my experience it needs someone devoted to managing the process, staying up with template changes etc.
Excited to see more SDK languages come to Stainless!
[1] https://www.mux.com/blog/an-adventure-in-openapi-v3-api-code...
[2] https://github.com/OpenAPITools/openapi-generator
Project mention: Hackers exploited Windows 0-day for 6 months after Microsoft knew of it | news.ycombinator.com | 2024-03-05I don't think that's a good example. While Apache devs are volunteers and Microsoft devs are employees, they were criticized for their slow response time and seeming lack of urgency until it was far too late.
https://github.com/apache/logging-log4j2/pull/608#issuecomme...
Project mention: Spring Boot 3 application on AWS Lambda - Part 3 Develop application with AWS Serverless Java Container | dev.to | 2024-04-15The key dependency to make it work and translate between Spring Boot 3 (web annotation) model and AWS Lambda is the dependency to the artifact aws-serverless-java-container-springboot3 defined in the pom.xml. It's based on Serverless Java Container which natively supports API Gateway's proxy integration models for requests and responses, and we can create and inject custom models for methods that use custom mappings.
The extension is backed by a different 3rd party lib that can interact with the GitHub API, it is called Hub4j GitHub API, the change from the jcabi dependency was easy and everything was working as before, BUT not the native mode.
Project mention: Ask HN: What Underrated Open Source Project Deserves More Recognition? | news.ycombinator.com | 2024-03-07
The swagger file for that is available on their repository here: https://github.com/OWASP/crAPI/blob/develop/openapi-spec/openapi-spec.json
Introducing our star player for detecting breaking changes: OpenAPI Diff. The good news? You can fire it up locally with Docker. Here’s how:
I created a GitHub issue for some of the errors on the API.
The jcabi-github dependency looked nice in the beginning but it was having issues with the event feed management, the endpoints were not properly setup in the code, but it was only a minor issue, I was able to overcome it by using two different operations to fetch the required data.
Java API related posts
- Expose your database as a REST API safely and without code
- What is API Discovery, and How to Use it to Reduce Your Attack Surface
- Hackers exploited Windows 0-day for 6 months after Microsoft knew of it
- Show HN: Retrieval Augmented Generation for LLMs from APIs with Function Calling
- Create an alternative async logger implementation using JCTools
- Hypixel's Public API.
- Yet Another REST API Fuzzer
-
A note from our sponsor - WorkOS
workos.com | 29 Apr 2024
Index
What are some of the best open-source API projects in Java? This list will help you:
Project | Stars | |
---|---|---|
1 | openapi-generator | 19,807 |
2 | JDA | 4,127 |
3 | Apache Log4j 2 | 3,268 |
4 | docker-java | 2,800 |
5 | swagger2markup | 2,480 |
6 | Discord4J | 1,724 |
7 | serverless-java-container | 1,450 |
8 | github-api | 1,099 |
9 | cats | 1,091 |
10 | Elide | 984 |
11 | crAPI | 960 |
12 | zerocode | 848 |
13 | Javacord | 747 |
14 | openapi-diff | 750 |
15 | PublicAPI | 525 |
16 | Para | 514 |
17 | DeepfakeHTTP | 502 |
18 | Membrane Service Proxy | 442 |
19 | opentest | 428 |
20 | packetevents | 402 |
21 | twitch4j | 363 |
22 | XSeries | 359 |
23 | jcabi-github | 302 |
Sponsored