Skip to content

[Android][Volley] add serializeModel support to Android#3933

Merged
wing328 merged 2 commits intoswagger-api:masterfrom
wing328:android_serializable2
Oct 6, 2016
Merged

[Android][Volley] add serializeModel support to Android#3933
wing328 merged 2 commits intoswagger-api:masterfrom
wing328:android_serializable2

Conversation

@wing328
Copy link
Copy Markdown
Contributor

@wing328 wing328 commented Oct 6, 2016

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 serializeModel support to Android, e.g.

java -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar generate \
  -i modules/swagger-codegen/src/test/resources/2_0/petstore.yaml \
  -l android -DserializableModel=true \
  -o /var/tmp/android/serializableModel2/ 

@wing328 wing328 merged commit cd6b5fe into swagger-api:master Oct 6, 2016
@wing328 wing328 deleted the android_serializable2 branch October 6, 2016 09:36
acramatte added a commit to comerge/swagger-codegen that referenced this pull request Oct 10, 2016
* upstream/master:
  [aspnet] Fix .sln/.xproj guids
  [Python][Flask] fix python2 support in Flask (swagger-api#3952)
  Bugfix/3929 do not set multipart (swagger-api#3932)
  fix python required property check and validation for optional properties
  required tag is used in model, allows null values (swagger-api#3923)
  fix number format for dart model
  support number enum for swift
  [Objc] Added support for lower case discriminator (swagger-api#3927)
  [Android][Volley] add serializeModel support to Android (swagger-api#3933)
  add more info about test with latest master
  add back java okhttp petstore client
  fix pom duplicated id issue
  update pom to test java okhttp-gson parcelable models
  fix bug with parcelable
  [Java] Fix bug in generated code if parcelableModel and serializableModel are both true.
  [Java] Make generated models Parcelable for okhttp-gson if the -DparcelableModel=true option is provided.
  add http://onedata.org
  validate(s)_presence_of Migration should create pluralized table names Change controller filenames
  Issue#3829. Objective-C client code, discriminator generated in both base and child.
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.

1 participant