...
java -jar codegen-1.0-SNAPSHOT-jar-with-dependencies.jar -l -t -u https://raw.githubusercontent.com/egovernments/DIGIT-OSS/DIGIT-DEVELOPER-TUTORIAL/municipal-services/docs/voter-registration.yml -a voter-registration -b digit
OR, if you have created the swagger contract file locally, use the following command to generate the skeleton code -
Code Block |
---|
java -jar codegen-1.0-SNAPSHOT-jar-with-dependencies.jar -l -t -u file:///C:/Users/shash/Desktop/New/contract.yml -a voter-registration -b digit |
Update the spring-boot-starter-parent to 2.2.6-RELEASE
...