khrt / Raisin

Raisin - a REST API micro framework for Perl 🐫 🐪
61 stars 31 forks source link

Feature Request: Swagger schemes #94

Open djzort opened 4 years ago

djzort commented 4 years ago

Looking at the code, swagger will provide the current "scheme" as the list of schemes. This seems like a reasonable default.

It would be nice to be able to specify it though, as my implementations are http & https via haproxy load balancer which does the https (it does pass through headers, but there is no other way of knowing that http/s is available)