encode / apistar

The Web API toolkit. 🛠
https://docs.apistar.com
BSD 3-Clause "New" or "Revised" License
5.57k stars 411 forks source link

[Issue-657] Appending path to server url #680

Open QFer opened 3 years ago

QFer commented 3 years ago

Fix for the problem stated in issue #657

According OpenApi standard: "A relative path to an individual endpoint. The field name MUST begin with a forward slash (/). The path is appended (no relative URL resolution) to the expanded URL from the Server Object's url field in order to construct the full URL."

*Added tests to test_openapi