This small Spring Boot application acting as a kind of blueprint for a typical microservice. It contains following components:
- A demo REST controller which takes 5 arguments as request parameters/headers and sends the response back as an JSON
- API versioning via content type negotiation and vendor specific MIME types
- Swagger SpringMVC integration for generated API documentation
- An index.html file using swagger-ui for browsing the API documentation including Javascript test client
gradle build
gradle bootRun
- http://localhost:9000/swagger-ui/index.html shows the API documentation provided by swagger-ui
- If need to test how controller works, uses prepared HTTP requests in file test_requests.http