Skip to content

Conversation

@shijinkui
Copy link
Contributor

@shijinkui shijinkui commented Jan 16, 2018

PR checklist

Description of the PR

  1. delete blank line between license and package line
  2. add {{>licenseInfo}} to all class file
  3. generate java-petstore
  4. add function setApiEndpoint(String apiEndpoint) in java/api.mustache
    like: private final ClusterApi api = new ClusterApi().setApiEndpoint("https://xxx.com");

cc @bbdouglas @JFCote @sreeshas @jfiala @lukoyanov @cbornet

1. delete blank line between license and `package` line
2. add `{{>licenseInfo}}` to all class file
3. generate java-petstore
4. add function `setApiEndpoint(String apiEndpoint)` in `java/api.mustache`
   like: `private final ClusterApi api = new ClusterApi().setApiEndpoint("https://xxx.com");`
	./bin/scala-petstore.sh
	./bin/akka-scala-petstore.sh
	./bin/scala-lagom-server-petstore.sh
	./bin/scalatra-petstore-server.sh
	./bin/scalaz-petstore.sh
	./bin/akka-scala-petstore.sh
	./bin/java-play-framework-petstore-server-all.sh
	./bin/android-petstore-all.sh
	./bin/kotlin-client-petstore.sh
@wing328
Copy link
Contributor

wing328 commented Jan 22, 2018

add function setApiEndpoint(String apiEndpoint) in java/api.mustache
like: private final ClusterApi api = new ClusterApi().setApiEndpoint("https://xxx.com");

Please do this in a separate PR.

I believe it's currently doable with the Configuration class without introducing the setApiEndpoint method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants