Skip to content

demo for microprofile openapi with request/response classes using generics

Notifications You must be signed in to change notification settings

haraldatbmw/openapi-showcase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

openapi-showcase

This demo microservice uses a response envelope class with generics to get a specific JSON response. The goal is to get a correct parsed OpenAPI definition by the application server.

JSON response

{
	"data":
	{
		"items":
		[
			{"age":7,"name":"Leo the tiger"},
			{"age":11,"name":"Joe the wolf"}
		],
		"totalItems":2
	}
}

About

demo for microprofile openapi with request/response classes using generics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages