com.microsoft.azure.sdk.iot.service.digitaltwin.swagger.readme.md Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of iot-service-client Show documentation
Show all versions of iot-service-client Show documentation
The Microsoft Azure IoT Service SDK for Java
The newest version!
# Digital Twin Service Client
## Getting Started
> see https://aka.ms/autorest
The Digital Twin service client using an autogenerated protocol layer that is created by autorest.
To create this protocol layer, simply install AutoRest in Node.js via `npm` (`npm install -g autorest`), navigate to this folder and run:
`autorest`
It will pick the configuration options mentioned below and output the generated files.
To see additional help and options, run:
`autorest --help`
For other options on installation see [Installing Autorest](https://aka.ms/autorest/install) on the AutoRest GitHub page.
## Configuration
The following settings are used for generating the protocol layer API with AutoRest:
```yaml
input-file: ./digitalTwin.json
# The output always get generated as Java files will be generated under src/main/java/specified/java/package
# Specifying the output-folder path as iot-service-client will generate the required folder structure.
output-folder: ../../../../../../../../../../../
java:
namespace: com.microsoft.azure.sdk.iot.service.digitaltwin.generated
add-credentials: true
sync-methods: none
```