Skip to content

ttalviste/riigikogu-api-java-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

riigikogu-api-java-client

Riigikogu Api Java Client generated by Swagger

Swagger codegen

see https://swagger.io/tools/swagger-codegen/

java -jar ./tools/swagger-codegen-2.4.4-cli.jar generate -i ./input/riigikogu-api-spec.json -l java -o ./result/v2.0/riigikogu-api-java-client/
java -jar ./tools/swagger-codegen-3.0.7-cli.jar generate -i ./input/riigikogu-api-spec.json -l java -o ./result/v3.0/riigikogu-api-java-client/

Build the result project

./result/v2.0/riigikogu-api-java-client/gradlew --build-file ./result/v2.0/riigikogu-api-java-client/build.gradle build

AutoRest

This file contains the configuratuion for generating Riigikogu API from the OpenAPI specification.

see https://aka.ms/autorest

brew install autorest

or

npm install -g autorest 
autorest --verbose

AutoRest config

AutoRest reads the README.md file and looks for the yaml part and uses it as the configuration

# it's the same options as command line options, just drop the double-dash!
input-file: ./input/riigikogu-api-spec.json
namespace: org.riigikogu.api
clear-output-folder: true
java:
- output-folder: ./result/autorest

About

Riigikogu Api Java Client generated by Swagger

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages