Skip to content

Conversation

@jfiala
Copy link
Contributor

@jfiala jfiala commented Jan 19, 2017

PR checklist

  • 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

add beanvalidation annotation support to language spring + libraries spring-boot, spring-mvc, spring-cloud

for details see #4091

This is a follow up PR of #4510 which has failed, so I re-created the PR to get a clean compare view.

jfiala added 13 commits January 6, 2017 18:10
…degen into spring_beanval

Conflicts:
	modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/AbstractJavaCodegen.java
	modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/SpringCodegen.java
	modules/swagger-codegen/src/main/resources/JavaSpring/apiController.mustache
	modules/swagger-codegen/src/test/java/io/swagger/codegen/options/SpringOptionsProvider.java
	modules/swagger-codegen/src/test/java/io/swagger/codegen/spring/SpringOptionsTest.java
	samples/server/petstore/spring-mvc/src/main/java/io/swagger/api/FakeApi.java
	samples/server/petstore/spring-mvc/src/main/java/io/swagger/api/FakeApiController.java
@wing328 wing328 merged commit 8952815 into swagger-api:master Jan 26, 2017
@wing328 wing328 changed the title [Spring] Add beanvalidation annotations [Java][Spring] Add beanvalidation annotations Feb 21, 2017
davidgri pushed a commit to davidgri/swagger-codegen that referenced this pull request May 11, 2017
* update generated sample for spring boot swagger-api#4091

* add beanvalidation annotations to spring swagger-api#4091

* add tests for spring swagger-api#4091

* cleanup spring-cloud (client lib) swagger-api#4091

* update client sample spring-cloud swagger-api#4091

* replace tabs

* add beanvalidation annotations to spring swagger-api#4091

* add tests for spring swagger-api#4091

* cleanup spring-cloud (client lib) swagger-api#4091

* update client sample spring-cloud swagger-api#4091

* replace tabs

* update spring-cloud sample
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.

2 participants