haproxytech / dataplaneapi

HAProxy Data Plane API
https://www.haproxy.com/documentation/dataplaneapi/
Apache License 2.0
329 stars 76 forks source link

No auth for specific endpoint paths #323

Open hac3ru opened 9 months ago

hac3ru commented 9 months ago

Hello,

I'll start off by saying that the dataplaneapi is an amazing alternative to the old way of controlling the runtime config! I would love though, if I could use swagger-ui to build on top of dataplane api so, it would be great if you could either include swagger-ui in the dataplaneapi, so we could run calls directly from it or, if you could at least expose the specifications endpoints (/v2/specification and /v2/specification_openapiv3) without authentication, so we can start our own stagger-ui and point it to use those specs.

Thank you!

hac3ru commented 9 months ago

Edit #1: I just saw that with OAS3, one can specify the servers in the specifications file. It sort of solves the issue, it's just not as easy as being able to specify an endpoint pointing to the OAS3 spec output. (/v2/specification_openapiv3)