Skip to content

networknt/openapi-market

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenAPI Light-4J Server

Build and Start

The scaffolded project contains a single module. A fat jar server.jar will be generated in target directory after running the build command below.

./mvnw clean install -Prelease

With the fatjar in the server/target directory, you can start the server with the following command.

java -jar server/target/server.jar

To speed up the test, you can avoid the fat jar generation and start the server from Maven.

./mvnw clean install exec:exec

Test

By default, the OAuth2 JWT security verification is disabled, so you can use Curl or Postman to test your service right after the server is started. For example, the petstore API has the following endpoint.

curl -k https://localhost:8443/v1/pets

For your API, you need to change the path to match your specifications.

Tutorial

To explore more features, please visit the petstore tutorial.

About

OpenAPI market example for testing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published