theowni / Damn-Vulnerable-RESTaurant-API-Game

Damn Vulnerable Restaurant is an intentionally vulnerable Web API game for learning and training purposes dedicated to developers, ethical hackers and security engineers.
GNU General Public License v3.0
427 stars 65 forks source link

Add "servers" parameter to FastAPI to have it on the generated "openapi.json" file #21

Closed k8pl3r-sh closed 2 months ago

k8pl3r-sh commented 2 months ago

This minor update allows to directly use the openapi.json file to request the API for debugging with the right server parameters Thanks for your project, which is really fun to learn new tricks on APIs !

theowni commented 2 months ago

thank you @k8pl3r-sh for the PR, sounds reasonable!