emmett-framework / rest

REST extension for Emmett framework
BSD 3-Clause "New" or "Revised" License
14 stars 2 forks source link

[openapi] Bug in paths using @openapi.include #15

Closed josejachuf closed 2 years ago

josejachuf commented 2 years ago

Hi @gi0baro

Similar to how it was before this patch [1], when I use @openapi.include

this [2]

When the app has url_prefix, this is not being included in the paths generated. I tried to solve it, but I didn't know how to do it

[1] https://github.com/emmett-framework/rest/pull/12 [2] https://github.com/emmett-framework/rest#openapi-decorators