[go: up one dir, main page]

Skip to content

thanospan/ngsiv2-sdk-java-auto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auto-generated NGSI v2 SDKs for Java

  • NGSI v2 OpenAPI 2.0 Specification (06cab79)
  • Download swagger-codegen-cli.jar (v2.4.27)
    wget https://repo1.maven.org/maven2/io/swagger/swagger-codegen-cli/2.4.27/swagger-codegen-cli-2.4.27.jar \
      -O swagger-codegen-cli.jar
    
  • Generate SDK
    java -jar swagger-codegen-cli.jar generate \
      -i https://raw.githubusercontent.com/FIWARE/specifications/master/OpenAPI/ngsiv2/ngsiv2-openapi.json \
      -l java \
      -o swagger-codegen
    
  • Generate SDK
    java -jar openapi-generator-cli.jar generate \
      -i https://raw.githubusercontent.com/FIWARE/specifications/master/OpenAPI/ngsiv2/ngsiv2-openapi.json \
      -g java \
      -o openapi-generator
    

Disclaimer

The SDKs have been automatically generated and may not work as intended out-of-the-box!