pyeve / eve-swagger

Swagger extension for Eve-powered RESTful APIs
http://python-eve.org
Other
154 stars 43 forks source link

Custom resource urls for relationships with regular expressions should display only the label #66

Closed rmlopes closed 6 years ago

rmlopes commented 6 years ago

Like in the eve-docs extension, only the label should be in the docs for custom resource urls on related data. For instance,

/model1/<regex("[a-f0-9]{24}"):model1_id>/model2

in the docs should be:

/model1/model1_id/model2

nicolaiarocci commented 6 years ago

Agreed. Feel free to submit a PR I will be happy to review it.