...
| Bloque de código | ||
|---|---|---|
| ||
@Hidden
@GetMapping( PUBLIC_PREFIX + API_VERSION + "/healthz" )
public ResponseEntity<String> getLifeness() {
return ResponseEntity.ok( "UP");
} |
-
...
Referencias
- Documentación SpringDoc OpenApi: https://springdoc.org/#Introduction
- Notaciones Swagger: https://github.com/swagger-api/swagger-core/wiki/Annotations-1.5.X
- Baeldung SpringDoc OpenApi: https://www.baeldung.com/spring-rest-openapi-documentation
- Set List of Objects in Swagger API Response: https://www.baeldung.com/java-swagger-set-list-response
...