Open-source Java projects categorized as REST

Top 23 Java REST 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 | | 2023-01-30

    - Most YAML based configuration files.

    GraphQL doesn't quite supersede JSONSchema because it doesn't deal with validation. (Something like Cue ( 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:

  • Dropwizard

    A damn simple library for building production-ready RESTful web services.

    Project mention: Dropwizard 2.1.0 has been released | | 2022-05-24
  • 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.

  • swagger-core

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

    Project mention: Auto OpenAPI Generation — The Network Doesn’t Lie! | | 2022-06-14

    Examples include Swagger-Core, SpringFox, NSwag / Swashbuckle, Swagger-express / HAPI-Swagger, Django-REST-Swagger / Flask-RESTplus, etc.

  • REST Assured

    Java DSL for easy testing of REST services

    Project mention: How To Modify HTTP Request Headers In JAVA Using Selenium WebDriver? | | 2022-05-09

    The prerequisites to configure REST Assured with your project in any IDE (e.g., Eclipse) is fairly easy. After setting up Java, Eclipse, and TestNG, you would need to download the required REST Assured jar files.

  • WireMock

    A tool for mocking HTTP services

    Project mention: How to Boost Code Coverage with Functional Testing | | 2022-11-01

    Yes I agree, mocking is a bit of an overloaded term, and the libraries we used for stubbing like gRPC Mock and WireMock also have `mock` in their name, even though they are real servers with stubbing

  • JDA

    Java wrapper for the popular chat & VOIP service: Discord

    Project mention: How to verify ed25519 public key using Java 15 support | | 2022-10-23
  • restcountries

    Get information about countries via a RESTful API

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

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

    Project mention: Discord bot using java | | 2022-08-05

    You could use Discord4J, they have a tutorial maybe you could use that as reference as well as a server for support.

  • Microserver

    Microserver is a Java 8 native, zero configuration, standards based, battle hardened library to run Java Rest Microservices via a standard Java main class. Supporting pure Microservice or Micro-monolith styles.

  • milkman

    An Extensible Request/Response Workbench

    Project mention: Show HN: Restfox – A web based HTTP client inspired by Insomnia and Postman | | 2022-10-21
  • stargate

    An open source data gateway

    Project mention: Is learning and mastering Spring & Spring boot worth it in 2023 ? | | 2023-01-30


  • zerocode

    A community-developed, free, open source, microservices API automation and load testing framework built using JUnit core runners for Http REST, SOAP, Security, Database, Kafka and much more. Zerocode Open Source enables you to create, change, orchestrate and maintain your automated test cases declaratively with absolute ease.

    Project mention: Testcontainers & Zerocode: An integration testing tutorial | | 2022-09-21

    Zerocode is an open-source Java test automation framework that uses a declarative style of testing. In declarative testing, you don't write code, you declare scenarios that describe each step of a test in a JSON/YAML file. The Zerocode framework will then interpret the scenario and execute the instructions that you specify via a custom DSL. Zerocode can be used for end-to-end testing of your data stream.

  • product-apim

    Welcome to the WSO2 API Manager source code! For info on working with the WSO2 API Manager repository and contributing code, click the link below.

  • Javacord

    An easy to use multithreaded library for creating Discord bots in Java.

    Project mention: Is there a Java version for the Discord api? | | 2022-03-09

    Catnip, Discord4J, Javacord and JDA

  • keycloak-config-cli

    Import YAML/JSON-formatted configuration files into Keycloak - Configuration as Code for Keycloak.

    Project mention: Is Keycloak ready for Kubernetes? | | 2022-11-08

    As far as I know, the state of the art is , but I haven't played with that yet. It seems to be a big improvement over other solutions, because it can update configurations and the configurations can be "clean".

  • DeepfakeHTTP

    DeepfakeHTTP is a web server that uses HTTP dumps as a source for responses.

  • Membrane Service Proxy

    API gateway for REST and SOAP written in Java.

    Project mention: Open source webhook service | | 2022-12-21
  • spring-petclinic-rest

    REST version of the Spring Petclinic sample application

  • spring-hateoas-examples

    Collection of examples on how (and why) to build hypermedia-driven apps with Spring HATEOAS

    Project mention: Best practice: Spring HATEOAS | | 2022-04-08

    Also, don’t forget to check out the examples found here:

  • jenkins-rest

    Java client, built on top of jclouds, for working with Jenkins REST API

  • DeviceHive

    DeviceHive Java Server

  • OpenDJ - Open Identity Plattform Edition

    OpenDJ is an LDAPv3 compliant directory service, which has been developed for the Java platform, providing a high performance, highly available, and secure store for the identities managed by your organization. Its easy installation process, combined with the power of the Java platform makes OpenDJ the simplest, fastest directory to deploy and manage.

    Project mention: OpenDJ Exporter | | 2022-12-06

    I wrote an exporter for OpenDJ as I couldn't find one. Hope somebody else finds it useful.

  • webtau

    WebTau (short for web test automation) is a testing API, command line tool and a framework to write unit, integration and end-to-end tests. Test across REST-API, Graph QL, Browser, Database, CLI and Business Logic with consistent set of matchers and concepts. REPL mode speeds-up tests development. Rich reporting cuts down investigation time.

    Project mention: Simple and powerful HTTP API tests | | 2023-01-03

    To run the test, we will use WebTau command line tool. One way to install it is to use brew. Other options available in documentation Installation section.

  • SaaSHub

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

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). The latest post mention was on 2023-01-30.

Java REST related posts


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

Project Stars
1 openapi-generator 15,081
2 Dropwizard 8,341
3 swagger-core 7,122
4 REST Assured 6,194
5 WireMock 5,327
6 JDA 3,483
7 restcountries 2,116
8 Discord4J 1,533
9 Microserver 934
10 milkman 862
11 stargate 718
12 zerocode 696
13 product-apim 663
14 Javacord 643
15 keycloak-config-cli 459
16 DeepfakeHTTP 450
17 Membrane Service Proxy 394
18 spring-petclinic-rest 358
19 spring-hateoas-examples 330
20 jenkins-rest 315
21 DeviceHive 286
22 OpenDJ - Open Identity Plattform Edition 285
23 webtau 276
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives