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

[Java] Bug generating Boolean type property #9203

Closed
bwangfdu opened this issue Feb 21, 2019 · 1 comment
Closed

[Java] Bug generating Boolean type property #9203

bwangfdu opened this issue Feb 21, 2019 · 1 comment
Milestone

Comments

@bwangfdu
Copy link

Description

When generate model object with Boolean type property, the get method is generated with duplicated is as isisPropertyName

Swagger-codegen version

3.0.1, 3.0.4, 3.0.5, others 3.0.x versions doesn't test.

Swagger declaration file content or url
"OrderLineAudit": {
      "type": "object",
      "properties": {
        "id": {
          "format": "uuid",
          "type": "string"
        },
        "completeTS": {
          "type": "string"
        },
        "eventId": {
          "type": "string"
        },
        "processed": {
          "type": "boolean"
        }
      }
    },

The processed property get method generated as isisProcessed

Command line used for generation

swagger-codegen-maven-plugin

Steps to reproduce

run generate goal

gracekarina added a commit that referenced this issue Aug 30, 2019
@HugoMario HugoMario added this to the v3.0.12 milestone Aug 31, 2019
gracekarina added a commit that referenced this issue Sep 2, 2019
… codegen-generators #9203

removing isBoolean duplication - refs #9203
gracekarina added a commit that referenced this issue Sep 5, 2019
frantuma added a commit to swagger-api/swagger-codegen-generators that referenced this issue Sep 5, 2019
gracekarina added a commit to swagger-api/swagger-codegen-generators that referenced this issue Sep 27, 2019
gracekarina added a commit to swagger-api/swagger-codegen-generators that referenced this issue Sep 28, 2019
gracekarina added a commit to swagger-api/swagger-codegen-generators that referenced this issue Sep 28, 2019
…y-joda core version and httpcomponents in graddle
frantuma added a commit to swagger-api/swagger-codegen-generators that referenced this issue Oct 8, 2019
frantuma pushed a commit to swagger-api/swagger-codegen-generators that referenced this issue Oct 8, 2019
frantuma pushed a commit to swagger-api/swagger-codegen-generators that referenced this issue Oct 8, 2019
frantuma pushed a commit to swagger-api/swagger-codegen-generators that referenced this issue Oct 8, 2019
…y-joda core version and httpcomponents in graddle
frantuma added a commit to swagger-api/swagger-codegen-generators that referenced this issue Oct 8, 2019
frantuma pushed a commit that referenced this issue Oct 8, 2019
… codegen-generators #9203

removing isBoolean duplication - refs #9203
frantuma pushed a commit that referenced this issue Oct 8, 2019
frantuma added a commit to swagger-api/swagger-codegen-generators that referenced this issue Oct 8, 2019
refs swagger-api/swagger-codegen#9203 - Remove duplicated `isis` boolean property getter and other java fixes
@frantuma
Copy link
Member

frantuma commented Oct 8, 2019

@frantuma frantuma closed this as completed Oct 8, 2019
This issue was closed.
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

No branches or pull requests

3 participants