Skip to content

Joxebus/mock-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mock REST API

This project has been created to create Mocks of REST APIs.

Pre-requisites

  • Java 11
  • GraalVM 22.3.r17-grl
  • Docker

Install tools

We recommend to use SDKman for the installation of Java versions

sdk install java 22.3.r17-grl

You can list the available candidates for GraalVM with the command:

> sdk list java | grep grl

 GraalVM       |     | 22.3.r19     | grl     |            | 22.3.r19-grl        
               | >>> | 22.3.r17     | grl     | installed  | 22.3.r17-grl        
               |     | 22.3.r11     | grl     |            | 22.3.r11-grl 

Run MockAPI

./gradlew bootRun

Documents

You can refer to file HOW_TO_USE.md for more information regarding how to create API configurations.

Inside the docs folder there also a sample collection to start working with mock-api

About

MockAPI allow you to create simple REST APIs to return dummy responses but with configurable parameters such headers, body and status code.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published