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

add support for relative path in specs files for SpringMVC. #4179

Closed
wants to merge 3 commits into from
Closed

add support for relative path in specs files for SpringMVC. #4179

wants to merge 3 commits into from

Conversation

YaoYao-dd
Copy link
Contributor

PR checklist

when we define basePath in spec like this petstore/v2, it normally means in the web container, petstore is the context path, v2 is global relative path for all resource path. so it is good to generate API with this relative path for @RequestMapping(value = "/v2/dogs"), also it is better to define the controller level mapping since controller is resource based.

  • Read the contribution guildelines.
  • Ran the shell/batch script under ./bin/ to update Petstore sample so that CIs can verify the change. (For instance, only need to run ./bin/{LANG}-petstore.sh and ./bin/security/{LANG}-petstore.sh if updating the {LANG} (e.g. php, ruby, python, etc) code generator or {LANG} client's mustache templates)
  • Filed the PR against the correct branch: master for non-breaking changes and 2.3.0 branch for breaking (non-backward compatible) changes.

Description of the PR

(details of the change, additional tests that have been done, reference to the issue for tracking, etc)

@wing328
Copy link
Contributor

wing328 commented Nov 14, 2016

@BeingCoder thanks for the PR. Please use 4-space instead for code indentation in the Java files.

@YaoYao-dd
Copy link
Contributor Author

@wing328 , adjusted the format, thx.

@wing328 wing328 modified the milestones: v2.2.2, v2.2.3 Feb 22, 2017
@wing328 wing328 modified the milestones: v2.3.0, v2.2.3 Jul 13, 2017
@wing328
Copy link
Contributor

wing328 commented Jul 13, 2017

@BeingCoder there are still tabs in the Java files.

Please provide an example and retarget this for 2.3.0 branch instead as it might be a breaking change.

@wing328
Copy link
Contributor

wing328 commented Jul 13, 2017

cc @cbornet

@cbornet
Copy link
Contributor

cbornet commented Jul 13, 2017

I'm not sure I understand what this does and I'm not sure I agree with it...

@wing328 wing328 modified the milestones: v2.3.0, v2.4.0 Dec 18, 2017
@YaoYao-dd YaoYao-dd closed this by deleting the head repository Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants