piomin / sample-spring-microservices-kubernetes

Sample Spring Boot application that uses some features provided by Spring Cloud Kubernetes, Spring Cloud OpenFeign and Spring Cloud Gateway deployed on Kubernetes
https://piotrminkowski.com
429 stars 277 forks source link

gateway-service shows empty Open API spec #43

Open opensearch opened 11 months ago

opensearch commented 11 months ago

curl to gateway-service (e.g. curl localhost:31441/v3/api-docs) returns empty paths:

$sample-spring-microservices-kubernetes % curl localhost:31441/v3/api-docs
{"openapi":"3.0.1","info":{"title":"OpenAPI definition","version":"v0"},"servers":[{"url":"http://localhost:31441","description":"Generated server url"}],"paths":{},"components":{}}% 
piomin commented 11 months ago

Could you retry with the latest version?

opensearch commented 10 months ago

Could you retry with the latest version?

Same result. Seems swagger was not initialized because /swagger-ui/index.html returns 404.