Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit 61bfb9f

Browse files
f-alizadaFarhad Alizada
andauthored
Add example value null case in mocked http client for apiOperation (#797)
Co-authored-by: Farhad Alizada <falizada@microsoft.com>
1 parent 54918ce commit 61bfb9f

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

tests/ArmTemplates.Tests/Resources/ApiClientJsonResponses/ApiManagementListApiOperations_success_response.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,20 @@
3737
"properties": {
3838
"displayName": "GetOrder",
3939
"method": "POST",
40-
"urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/GetOrder"
40+
"urlTemplate": "/?soapAction=http://tempuri.org/IFazioService/GetOrder",
41+
"request": {
42+
"description": "description",
43+
"representations": [
44+
{
45+
"contentType": "application/json",
46+
"examples": {
47+
"default": {
48+
"description": "exampleDescription"
49+
}
50+
}
51+
}
52+
]
53+
}
4154
}
4255
},
4356
{

0 commit comments

Comments
 (0)