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

Fix the bug that the property generateApis always true #14126

Merged
merged 1 commit into from
May 16, 2023

Conversation

iWantUss
Copy link
Contributor

@iWantUss iWantUss commented Nov 26, 2022

To close #14119

@wing328 wing328 changed the title fix#14119. property generateApis always true Fix the bug that the property generateApis always true May 16, 2023
@wing328
Copy link
Member

wing328 commented May 16, 2023

let's give it a try.

@wing328 wing328 merged commit be9f1b6 into OpenAPITools:master May 16, 2023
@vmishra22
Copy link

@wing328 @iWantUss I wanted to confirm if it has broken the functionality to provide the option of the selective apis to be generated. For example, if I want api "create_file" to be generated only, and provide the option as --global-property apis=create_file, then boolean generateApis is set as false because of Boolean.valueOf(GlobalSettings.getProperty(CodegenConstants.APIS)). Later on , generativeApi() method just returns because of this boolean value as false.

@wing328
Copy link
Member

wing328 commented May 21, 2023

@vmishra22 thanks for letting us know. Will revert the change via #15588

wing328 added a commit that referenced this pull request May 21, 2023
@wing328 wing328 added this to the 7.0.0 milestone Jul 7, 2023
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

Successfully merging this pull request may close these issues.

[JAVA] Bag. property generateApis=false not working
3 participants