Skip to content
GitLab
    • Explore Projects Groups Snippets
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • O openapi-generator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,476
    • Issues 3,476
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 402
    • Merge requests 402
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OpenAPI Tools
  • openapi-generator
  • Merge requests
  • !2045

Remove localVarPrefix from Java client

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged William Cheng requested to merge remove-local-prefix into master 6 years ago
  • Overview 0
  • Commits 3
  • Pipelines 0
  • Changes 30

PR checklist

  • Read the contribution guidelines.
  • Ran the shell 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). Windows batch files can be found in .\bin\windows\.
  • Filed the PR against the correct branch: master, 3.4.x, 4.0.x. Default: master.
  • Copied the technical committee to review the pull request if your PR is targeting a particular programming language.

Description of the PR

To fix https://github.com/OpenAPITools/openapi-generator/issues/2043

Compare
  • master (base)

and
  • latest version
    a2bdcda1
    3 commits, 2 years ago

30 files
+ 2118
- 2139

    Preferences

    File browser
    Compare changes
docs/ge‎nerators‎
groo‎vy.md‎ +0 -1
java-inf‎lector.md‎ +0 -1
java-m‎sf4j.md‎ +0 -1
java-p‎kmst.md‎ +0 -1
java-play-f‎ramework.md‎ +0 -1
java-undert‎ow-server.md‎ +0 -1
java-v‎ertx.md‎ +0 -1
jav‎a.md‎ +0 -1
jaxrs-cx‎f-cdi.md‎ +0 -1
jaxrs-cxf‎-client.md‎ +0 -1
jaxrs-‎cxf.md‎ +0 -1
jaxrs-j‎ersey.md‎ +0 -1
jaxrs-rest‎easy-eap.md‎ +0 -1
jaxrs-re‎steasy.md‎ +0 -1
jaxrs-‎spec.md‎ +0 -1
spri‎ng.md‎ +0 -1
modules/openapi-g‎enerator/src/main‎
java/org/openapitoo‎ls/codegen/languages‎
AbstractJava‎Codegen.java‎ +0 -5
resources/Java/lib‎raries/okhttp-gson‎
api.mu‎stache‎ +66 -66
samples/client‎/petstore/java‎
okhttp-gson/src/ma‎in/…/…/…/client/api‎
AnotherFa‎keApi.java‎ +32 -32
FakeAp‎i.java‎ +369 -369
FakeClassnameT‎ags123Api.java‎ +32 -32
PetAp‎i.java‎ +256 -256
StoreA‎pi.java‎ +116 -116
UserAp‎i.java‎ +221 -221
…/…/…/…‎/…/…/…/…‎
AnotherFa‎keApi.java‎ +32 -32
FakeAp‎i.java‎ +369 -369
FakeClassnameT‎ags123Api.java‎ +32 -32
PetAp‎i.java‎ +256 -256
StoreA‎pi.java‎ +116 -116
UserAp‎i.java‎ +221 -221
docs/generators/groovy.md
+ 0
- 1
  • View file @ a2bdcda1

  • Edit in single-file editor

  • Open in Web IDE


@@ -29,7 +29,6 @@ sidebar_label: groovy
|licenseName|The name of the license| |null|
|licenseUrl|The URL of the license| |null|
|sourceFolder|source folder for generated code| |null|
|localVariablePrefix|prefix for generated code members and local variables| |null|
|serializableModel|boolean - toggle "implements Serializable" for generated models| |false|
|bigDecimalAsString|Treat BigDecimal values as Strings to avoid precision loss.| |false|
|fullJavaUtil|whether to use fully qualified name for classes under java.util. This option only works for Java API client| |false|
docs/generators/java-inflector.md
+ 0
- 1
  • View file @ a2bdcda1

  • Edit in single-file editor

  • Open in Web IDE


@@ -29,7 +29,6 @@ sidebar_label: java-inflector
|licenseName|The name of the license| |null|
|licenseUrl|The URL of the license| |null|
|sourceFolder|source folder for generated code| |null|
|localVariablePrefix|prefix for generated code members and local variables| |null|
|serializableModel|boolean - toggle "implements Serializable" for generated models| |false|
|bigDecimalAsString|Treat BigDecimal values as Strings to avoid precision loss.| |false|
|fullJavaUtil|whether to use fully qualified name for classes under java.util. This option only works for Java API client| |false|
docs/generators/java-msf4j.md
+ 0
- 1
  • View file @ a2bdcda1

  • Edit in single-file editor

  • Open in Web IDE


@@ -29,7 +29,6 @@ sidebar_label: java-msf4j
|licenseName|The name of the license| |null|
|licenseUrl|The URL of the license| |null|
|sourceFolder|source folder for generated code| |null|
|localVariablePrefix|prefix for generated code members and local variables| |null|
|serializableModel|boolean - toggle "implements Serializable" for generated models| |false|
|bigDecimalAsString|Treat BigDecimal values as Strings to avoid precision loss.| |false|
|fullJavaUtil|whether to use fully qualified name for classes under java.util. This option only works for Java API client| |false|
docs/generators/java-pkmst.md
+ 0
- 1
  • View file @ a2bdcda1

  • Edit in single-file editor

  • Open in Web IDE


@@ -29,7 +29,6 @@ sidebar_label: java-pkmst
|licenseName|The name of the license| |null|
|licenseUrl|The URL of the license| |null|
|sourceFolder|source folder for generated code| |null|
|localVariablePrefix|prefix for generated code members and local variables| |null|
|serializableModel|boolean - toggle "implements Serializable" for generated models| |false|
|bigDecimalAsString|Treat BigDecimal values as Strings to avoid precision loss.| |false|
|fullJavaUtil|whether to use fully qualified name for classes under java.util. This option only works for Java API client| |false|
docs/generators/java-play-framework.md
+ 0
- 1
  • View file @ a2bdcda1

  • Edit in single-file editor

  • Open in Web IDE


@@ -29,7 +29,6 @@ sidebar_label: java-play-framework
|licenseName|The name of the license| |null|
|licenseUrl|The URL of the license| |null|
|sourceFolder|source folder for generated code| |null|
|localVariablePrefix|prefix for generated code members and local variables| |null|
|serializableModel|boolean - toggle "implements Serializable" for generated models| |false|
|bigDecimalAsString|Treat BigDecimal values as Strings to avoid precision loss.| |false|
|fullJavaUtil|whether to use fully qualified name for classes under java.util. This option only works for Java API client| |false|
docs/generators/java-undertow-server.md
+ 0
- 1
  • View file @ a2bdcda1

  • Edit in single-file editor

  • Open in Web IDE


@@ -29,7 +29,6 @@ sidebar_label: java-undertow-server
|licenseName|The name of the license| |null|
|licenseUrl|The URL of the license| |null|
|sourceFolder|source folder for generated code| |null|
|localVariablePrefix|prefix for generated code members and local variables| |null|
|serializableModel|boolean - toggle "implements Serializable" for generated models| |false|
|bigDecimalAsString|Treat BigDecimal values as Strings to avoid precision loss.| |false|
|fullJavaUtil|whether to use fully qualified name for classes under java.util. This option only works for Java API client| |false|
docs/generators/java-vertx.md
+ 0
- 1
  • View file @ a2bdcda1

  • Edit in single-file editor

  • Open in Web IDE


@@ -29,7 +29,6 @@ sidebar_label: java-vertx
|licenseName|The name of the license| |null|
|licenseUrl|The URL of the license| |null|
|sourceFolder|source folder for generated code| |null|
|localVariablePrefix|prefix for generated code members and local variables| |null|
|serializableModel|boolean - toggle "implements Serializable" for generated models| |false|
|bigDecimalAsString|Treat BigDecimal values as Strings to avoid precision loss.| |false|
|fullJavaUtil|whether to use fully qualified name for classes under java.util. This option only works for Java API client| |false|
docs/generators/java.md
+ 0
- 1
  • View file @ a2bdcda1

  • Edit in single-file editor

  • Open in Web IDE


@@ -29,7 +29,6 @@ sidebar_label: java
|licenseName|The name of the license| |null|
|licenseUrl|The URL of the license| |null|
|sourceFolder|source folder for generated code| |null|
|localVariablePrefix|prefix for generated code members and local variables| |null|
|serializableModel|boolean - toggle "implements Serializable" for generated models| |false|
|bigDecimalAsString|Treat BigDecimal values as Strings to avoid precision loss.| |false|
|fullJavaUtil|whether to use fully qualified name for classes under java.util. This option only works for Java API client| |false|
docs/generators/jaxrs-cxf-cdi.md
+ 0
- 1
  • View file @ a2bdcda1

  • Edit in single-file editor

  • Open in Web IDE


@@ -29,7 +29,6 @@ sidebar_label: jaxrs-cxf-cdi
|licenseName|The name of the license| |null|
|licenseUrl|The URL of the license| |null|
|sourceFolder|source folder for generated code| |null|
|localVariablePrefix|prefix for generated code members and local variables| |null|
|serializableModel|boolean - toggle "implements Serializable" for generated models| |false|
|bigDecimalAsString|Treat BigDecimal values as Strings to avoid precision loss.| |false|
|fullJavaUtil|whether to use fully qualified name for classes under java.util. This option only works for Java API client| |false|
docs/generators/jaxrs-cxf-client.md
+ 0
- 1
  • View file @ a2bdcda1

  • Edit in single-file editor

  • Open in Web IDE


@@ -29,7 +29,6 @@ sidebar_label: jaxrs-cxf-client
|licenseName|The name of the license| |null|
|licenseUrl|The URL of the license| |null|
|sourceFolder|source folder for generated code| |null|
|localVariablePrefix|prefix for generated code members and local variables| |null|
|serializableModel|boolean - toggle "implements Serializable" for generated models| |false|
|bigDecimalAsString|Treat BigDecimal values as Strings to avoid precision loss.| |false|
|fullJavaUtil|whether to use fully qualified name for classes under java.util. This option only works for Java API client| |false|
docs/generators/jaxrs-cxf.md
+ 0
- 1
  • View file @ a2bdcda1

  • Edit in single-file editor

  • Open in Web IDE


@@ -29,7 +29,6 @@ sidebar_label: jaxrs-cxf
|licenseName|The name of the license| |null|
|licenseUrl|The URL of the license| |null|
|sourceFolder|source folder for generated code| |null|
|localVariablePrefix|prefix for generated code members and local variables| |null|
|serializableModel|boolean - toggle "implements Serializable" for generated models| |false|
|bigDecimalAsString|Treat BigDecimal values as Strings to avoid precision loss.| |false|
|fullJavaUtil|whether to use fully qualified name for classes under java.util. This option only works for Java API client| |false|
docs/generators/jaxrs-jersey.md
+ 0
- 1
  • View file @ a2bdcda1

  • Edit in single-file editor

  • Open in Web IDE


@@ -29,7 +29,6 @@ sidebar_label: jaxrs-jersey
|licenseName|The name of the license| |null|
|licenseUrl|The URL of the license| |null|
|sourceFolder|source folder for generated code| |null|
|localVariablePrefix|prefix for generated code members and local variables| |null|
|serializableModel|boolean - toggle "implements Serializable" for generated models| |false|
|bigDecimalAsString|Treat BigDecimal values as Strings to avoid precision loss.| |false|
|fullJavaUtil|whether to use fully qualified name for classes under java.util. This option only works for Java API client| |false|
0 Assignees
None
Assign to
0 Reviewers
None
Request review from
Labels
3
Breaking change (without fallback) Client: Java Issue: Bug
3
Breaking change (without fallback) Client: Java Issue: Bug
    Assign labels
  • Manage project labels

Milestone
4.0.0
4.0.0 (expired)
None
Time tracking
No estimate or time spent
Lock merge request
Unlocked
1
1 participant
William Cheng
Reference: OpenAPITools/openapi-generator!2045
Source branch: remove-local-prefix

Menu

Explore Projects Groups Snippets