Skip to content

[BUG] OpenAPI Generator: How to fix WARN o.o.codegen.DefaultCodegen - The value (generator's option) must be either boolean or string. Default to false #9008

Open
@himadree-shekhar

Description

@himadree-shekhar

I am using the following OpenAPI commands to generate client using openapi-generator:

npx @openapitools/openapi-generator-cli generate -i api.yaml -g cpp-restsdk -o  ./outputFolder

After running the command why it shows the following warning:

[main] WARN  o.o.codegen.DefaultCodegen - The value (generator's option) must be either boolean or string. Default to `false`.
Description
openapi-generator version 5.0.1
OpenAPI declaration file content or url
Generation Details
Steps to reproduce
Related issues/PRs
Suggest a fix

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions