Skip to content

tomsft/jetty-openapi-swagger-helloworld

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jetty-openapi-swagger-helloworld

Tech Stack

  • Java 17
  • Jetty 12
  • Jersey 3.1
  • Swagger 2.2
  • openapi v3

overview

Simple skeleton 'Hello World' REST API service in Java 17 with latest Jetty, jersey, swagger and openapi dependencies. Contains static swagger-ui application. Focus is on hosting REST API and Swagger-UI explicitly, without Spring Boot.

Contains just 3 classes and the static swagger-ui application in the resource folder.

  • HelloWorldEndpoint.java : hello world REST API handler annotated with REST API metadata
  • SwaggerConfig.java : jersey config with swagger openapi
  • JettyServer.java : Jetty Http Server serving 3 servlets:

references

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published