An open API service indexing awesome lists of open source software.

https://github.com/hendisantika/spring-boot-rest-swagger-example

A Simple spring boot app service example using Swagger API
https://github.com/hendisantika/spring-boot-rest-swagger-example

Last synced: 2 months ago
JSON representation

A Simple spring boot app service example using Swagger API

Awesome Lists containing this project

README

        

# Spring Boot REST Swagger Example

### Spring boot example with REST and spring data JPA

### Endpoints

|Method | Url | Description |
|-------| ------- | ----------- |
|GET| /info | info / heartbeat - provided by boot |
|GET| /health | application health - provided by boot|
|GET| /v2/api-docs| swagger json|
|GET|/swagger-ui.html| swagger html|
|GET|/v1/person/{id}| get person by id|
|GET|/v1/persons| get N persons with an offset|
|PUT|/v1/person| add / update person|

Screenshot

![List APIs](img/list.png "List API")