overture-stack / ego

OAuth 2.0 authorization service that supports multiple OpenID identity providers
https://www.overture.bio/products/ego
GNU Affero General Public License v3.0
25 stars 14 forks source link

BUG - Ego Swagger UI not showing any operation #709

Closed leoraba closed 1 year ago

leoraba commented 1 year ago

Description

After migrating to SpringBoot 3.0.5 and OpenAPI 3 using springdoc library, Swagger UI is no longer able to load any operation. EGO deployed behind proxy Kubernetes ingress path ([HOST]/api) for Ego API

Expected Behaviour

EGO Swagger UI should list all operations

Actual Behaviour

EGO Swagger UI is not showing any operation

Possible Fix

WORKAROUND: remove /api from EGO api ingress. (this will lead a inconsistency with previous version of EGO)

Steps to Reproduce

  1. Go to [HOST]/api/swagger-ui/index.html#/
  2. Swagger UI header will load but no Ego Operations are listed

Your Environment

leoraba commented 1 year ago

This was a Swagger configuration, added missing environment variables required by springdoc-openapi