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

Improve MappingRules to match dynamic actions of custom Rest Controllers #58

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lguerin
Copy link

@lguerin lguerin commented Jun 7, 2015

I like your plugin, but I have a lots of use cases where I have to create some REST controllers with custom UrlMappings settings.
Basically, I declare UrlMappings manually to match my controller actions with constraints and (sometime) grouping features.
In that case, the actual BuildPathMap mechanism is not sufficient to match my custom controller paths and replace the target action dynamically ; and so the generated documentation is not set correctly.
You can have a look at a simple example here : lguerin/Rest-api-doc-example@97e414f
This pull-request suggest a solution to fix that cases.
Thx.

…st controllers as declared into UrlMappings when using grouping and constraints
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.

1 participant