Use the Json Value Generator to generate basic json maker application
$ dotnet add package JsonValueGeneratorSDKTesting Special JsonValue feature
If you are building with .NET CLI tools then you can also use the following command:
dotnet add package JsonValueGeneratorSDK --version 0.2.0
You can also view the package at: https://www.nuget.org/packages/JsonValueGeneratorSDK/0.2.0
The generated SDK also contain one or more Tests, which are contained in the Tests project. In order to invoke these test cases, you will need NUnit 3.0 Test Adapter Extension for Visual Studio. Once the SDK is complied, the test cases should appear in the Test Explorer window. Here, you can click Run All to execute these test cases.
Note: Documentation for the client can be found here.
The following parameters are configurable for the API Client:
| Parameter | Type | Description |
|---|---|---|
Environment | Environment | The API environment. Default: Environment.Testing |
Timeout | TimeSpan | Http client timeout. Default: TimeSpan.FromSeconds(100) |
The API client can be initialized as follows:
JsonValueTester.Standard.JsonValueTesterClient client = new JsonValueTester.Standard.JsonValueTesterClient.Builder()
.Environment(JsonValueTester.Standard.Environment.Testing)
.Build();
The SDK can be configured to use a different environment for making API calls. Available environments are:
| Name | Description |
|---|---|
| production | - |
| testing | Default |