Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test that fails when more than one parameter #450

Merged
merged 2 commits into from
Sep 23, 2014

Conversation

xmartija
Copy link
Contributor

created test that fails when more than ONE parameter of type foo:{foo}.

the following regex
result = result.replaceAll("{(.?):.?}", "{$1}");
brakes a valid path like e.g.
/Daq/ds:{dsid}/intervalstart:{start}
into this :
/Daq/ds:{dsid}/intervalstart}

created test that fails when more than ONE parameter of type foo:{foo}
…t used to delete second colon separated param:{value} .
@xmartija
Copy link
Contributor Author

Also managed to get it working. used result = result.replaceAll("{([^}]?):.?}", "{$1}");
that will not match if the curly brackets are closed

dilipkrish added a commit that referenced this pull request Sep 23, 2014
test that fails when more than one parameter

fixes #449
@dilipkrish dilipkrish merged commit 6a85697 into springfox:master Sep 23, 2014
@adrianbk adrianbk added this to the 0.9.0 milestone Oct 13, 2014
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.

3 participants