Open falk-stefan opened 3 years ago
@wing328 Ah, yes. Thanks! I've figured it out myself by now but an example like this would have been useful :sweat_smile: .
I have another issue (stackoverflow). I need to set specific values in the generated configuration file (package.json
). Any chance you can help me there too?
One way is to use customized templates. Please refer to the readme for more info on that.
@falk-stefan
I've figured it out myself by now
Can you please share what was the solution for you?
I have kind of a similar issue. I set the inputSpec.set("$rootDir/$specFile")
, but the Gradle is still complaining that the value isn't set. Tries on both versions: 7.2.0
and 6.2.0
I am so sorry to open up an issue because of this but idk why I am simply not getting how I am supposed to use the generator.
What I intend to do is have different tasks in order to generate clients in different languages.
So for example, I'd like to specify one task for Angular and another for Java, something like this:
However, I'm struggling with
openApiGenrate
from the start. If I am writing:I'd get
If I am using the assignment operator
I'd get the following error
I cannot find a simple example on how to do this properly. Can somebody please tell me how this works - it really gets frustrating.