elixir-cloud-aai / tesk-api

GA4GH TES API Service that translates tasks into Kubernetes Batch API calls
Apache License 2.0
7 stars 18 forks source link

Open API generator for Spring does not (?) support Open API 3 annotations #23

Open aniewielska opened 3 years ago

aniewielska commented 3 years ago

The current situation of OpenAPI 3 vs 3 support:

sofiakarb commented 1 year ago

Hello! I am not sure if the issue you present here , has anything to do with the issue Im dealing with but it is worth asking , I guess :) We tried to build a new version of tesk-api with TES V1.1: https://github.com/ga4gh/task-execution-schemas/blob/v1.1/openapi/task_execution_service.openapi.yaml . And when we launched the image, Swagger returned this error message "Whitelabel Error Page This application has no explicit mapping for /error, so you are seeing this as a fallback.

Fri Mar 03 18:22:28 GMT 2023 There was an unexpected error (type=Not Found, status=404)."

I found somehwere (https://community.opengroup.org/osdu/platform/home/-/issues/47) that maybe I needed to change the url from $HOST/swagger-ui.html to $HOST/swagger-ui/index.html but then the issue I get is { "timestamp" : "2023-03-03T18:23:21.278+00:00", "status" : 401, "error" : "unauthorized", "message" : "Full authentication is required to access this resource", "path" : "/swagger-ui/index.html", "error_description" : "Full authentication is required to access this resource" }

Do you have any idea if what you presented above, may have anything to do with the errors we get? Thanks in advance!