feathersjs-ecosystem / feathers-swagger

Add documentation to your FeatherJS services and feed them to Swagger UI.
MIT License
226 stars 63 forks source link

Feature: Respect x-forwarded-prefix header #239

Closed Mairu closed 1 year ago

Mairu commented 1 year ago

Is your feature request related to a problem? Please describe. When running feathers behind a reverse proxy that rewrites the path, the SwaggerUI page will not be loaded successfully. See #226 for the original report of the problem.

Describe the solution you'd like The SwaggerUI page should work out of the box without custom modifications by respecting an X-FORWARDED-PREFIX header that the reverse proxy should set.