- 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
- NGSI v2 OpenAPI 2.0 Specification (06cab79)
- Download openapi-generator-cli.jar (v6.0.0)
wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/6.0.0/openapi-generator-cli-6.0.0.jar \ -O openapi-generator-cli.jar
- 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
- NGSI v2 OpenAPI 2.0 Specification (06cab79)
- Download openapi-generator-cli.jar (v6.0.0)
wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/6.0.0/openapi-generator-cli-6.0.0.jar \ -O openapi-generator-cli.jar
- Generate SDK using the native Java HTTP client
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-native \ --additional-properties library=native
- NGSI v2 API Blueprint (2018_09_15)
- APIMatic CodeGen
The SDKs have been automatically generated and may not work as intended out-of-the-box!