[BUG][GRADLE PLUGIN] Generate API from a remote URL
Created by: hdani9307
Bug Report Checklist
-
Have you provided a full/minimal spec to reproduce the issue? -
Have you validated the input using an OpenAPI validator (example)? -
Have you tested with the latest master to confirm the issue still exists? -
Have you searched for related issues/PRs? -
What's the actual output vs expected output? -
[Optional] Sponsorship to speed up the bug fix or feature request (example)
Description
If you specify an url for the inputspec
parameter, the gradle plugin will fail because it is annotated with @get:InputFile
openapi-generator version
6.2.1
OpenAPI declaration file content or url
Generation Details
Steps to reproduce
Related issues/PRs
Suggest a fix
Remove the @get:InputFile
and @PathSensitive(PathSensitivity.RELATIVE
annotation use a simple @Input instead