kytos-ng / kytos-end-to-end-tests

Kytos End-to-End Tests
0 stars 10 forks source link

Fix routes trailing slashes inconsistencies to avoid validation errors #236

Closed viniarck closed 1 year ago

viniarck commented 1 year ago

It turns out that some test cases were omitting a trailing slash, which on starlette/uvicorn works as well, but newer versions of openapi-core validation it's strictly checking it based on the openapi.yml, so it would result in HTTP 405 or 404. Only a few test cases are failing though (with the upcoming starlette changes).