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

Missing option inputSpecRootDirectory for openApiGenerate task (Gradle plugin) #15483

Closed
rocklass opened this issue May 11, 2023 · 3 comments · Fixed by #15548
Closed

Missing option inputSpecRootDirectory for openApiGenerate task (Gradle plugin) #15483

rocklass opened this issue May 11, 2023 · 3 comments · Fixed by #15548

Comments

@rocklass
Copy link

Description

The option inputSpecRootDirectory for openApiGenerate task (Gradle plugin) is missing while it is mentioned in the doc.

openapi-generator version

6.6.0 (and also 7.0.0)

@borsch
Copy link
Member

borsch commented May 18, 2023

@rocklass could you please try 7.0.0-SNAPSHOT?

@mrclrchtr
Copy link

When I try to use inputSpecRootDirectory, I get the following error message:
- Type 'org.openapitools.generator.gradle.plugin.tasks.GenerateTask' property 'inputSpecRootDirectory' file '/Users/xx/xx/specifications' is not a file.
It's correct, it is not a file, but a directory. Shouldn't this work with a dir?

@tstphnsn
Copy link

When I try to use inputSpecRootDirectory, I get the following error message: - Type 'org.openapitools.generator.gradle.plugin.tasks.GenerateTask' property 'inputSpecRootDirectory' file '/Users/xx/xx/specifications' is not a file. It's correct, it is not a file, but a directory. Shouldn't this work with a dir?

Note that as of 7.1.0 this functionality works.

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 a pull request may close this issue.

4 participants