Skip to content

Commit

Permalink
fix: service-map model validation error (#6754)
Browse files Browse the repository at this point in the history
Add "body" for RESPONSE_BODY_NOT_IN_EXAMPLE error
  • Loading branch information
nschonni authored and erich-wang committed Jul 29, 2019
1 parent 8f0d54f commit c314776
Showing 1 changed file with 17 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,24 @@
},
"responses": {
"200": {
"kind": "port",
"properties": {
"monitoringState": "monitored",
"machine": {
"kind": "ref:machine",
"id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-999066c5-38c5-4f2f-9ce0-51d738cdc432",
"type": "Microsoft.OperationalInsights/workspaces/features/machines",
"name": "m-999066c5-38c5-4f2f-9ce0-51d738cdc432"
"body": {
"kind": "port",
"properties": {
"monitoringState": "monitored",
"machine": {
"kind": "ref:machine",
"id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-999066c5-38c5-4f2f-9ce0-51d738cdc432",
"type": "Microsoft.OperationalInsights/workspaces/features/machines",
"name": "m-999066c5-38c5-4f2f-9ce0-51d738cdc432"
},
"displayName": ":8000",
"ipAddress": "192.168.1.1",
"portNumber": 8000
},
"displayName": ":8000",
"ipAddress": "192.168.1.1",
"portNumber": 8000
},
"id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-999066c5-38c5-4f2f-9ce0-51d738cdc432/ports/b-c0a80101_8000",
"type": "Microsoft.OperationalInsights/workspaces/features/machines/ports",
"name": "b-c0a80101_8000"
"id": "/subscriptions/63BE4E24-FDF0-4E9C-9342-6A5D5A359722/resourceGroups/rg-sm/providers/Microsoft.OperationalInsights/workspaces/D6F79F14-E563-469B-84B5-9286D2803B2F/machines/m-999066c5-38c5-4f2f-9ce0-51d738cdc432/ports/b-c0a80101_8000",
"type": "Microsoft.OperationalInsights/workspaces/features/machines/ports",
"name": "b-c0a80101_8000"
}
}
}
}

0 comments on commit c314776

Please sign in to comment.