Skip to content

Conversation

asteinlein
Copy link
Contributor

Paths that include the basePath as set in options on the APISpec
instance were normalized to not have the basePath as part of each path.
However, this didn't work with the Flask plugin as normalization occured
before the plugin generated it's URLs.

This fixes the issue by also normalizing paths after plugin processing in
add_path.

Fixes #78.

Paths that include the basePath as set in options on the APISpec
instance were normalized to not have the basePath as part of each path.
However, this didn't work with the Flask plugin as normalization occured
before the plugin generated it's URLs.

This fixes the issue by also normalizing paths after plugin processing in
`add_path`.

Fixes #78.
@sloria
Copy link
Member

sloria commented Oct 3, 2016

Apologies for the delay in getting to this. The behavior looks correct. Thanks!

@sloria sloria merged commit d1e9f83 into marshmallow-code:dev Oct 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Core path does not support swagger basePath

2 participants