Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

Following the README, it was suggested to use the legacy code generator for java. The following section in the codeGenerators.js file suggestion there is an option to control the generated java code's package name.

{ language: 'java', legacy: 'java', options: '-papiPackage=foo.bar.client.api.v3.1 -ppackageName=foo.bar.client.api.v3.1', extension: /\.java/gi, },

I was not able to get this to work. Any insights on the two properties in the options (the difference between the two?) and if they are expected to work?

You must be logged in to vote

Replies: 2 comments

Comment options

was trying to poke around to fine more in the code, I may be wrong about the meaning of these properties...
Is there any option to control the java packages in the generated code?

You must be logged in to vote
0 replies
Comment options

the options argument for the package names is what was correct at the time I tested the legacy feature for Java generation. The names may have changed in an update to that generator. I haven't checked on Java generation support since the Kotlin SDK is now available for Java/JVM usage.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
Labels
None yet
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.