ACCEDER A LA DOCUMENTACIÓN DE LA 'API' INGRESANDO AL LINK:
- http://localhost:8080/swagger-ui.html (LOCAL)
- http://app-microservicios.us-east-1.elasticbeanstalk.com/swagger-ui.html (CLOUD)
TOPDOWN APLICADO: $ java -jar swagger-codegen-cli-3.0.9.jar generate -i API_customer-service.yaml --api-package pe.com.intercorp --model-package pe.com.intercorp.bean --group-id pe.com.intercorp --artifact-id customer-service --artifact-version 1.0.0 -l spring -o customer-service
********************************** [CUSTOMER] **********************************
GET: (HEALTH CHECK)
- http://localhost:8080/customerservice/status (LOCAL)
- http://app-microservicios.us-east-1.elasticbeanstalk.com/customerservice/status (CLOUD)
POST:
- http://localhost:8080/customerservice/creacliente (LOCAL)
- http://app-microservicios.us-east-1.elasticbeanstalk.com/customerservice/creacliente (CLOUD)
{ "nombre": "PATRICIA MAGALY", "apellido": "PEREZ VASQUEZ", "fechaNacimiento": "21/04/1985" }
GET: