Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added swagger spec for Microsoft.DynamicsTelemetry preview #5161

Merged
merged 9 commits into from
Apr 25, 2019
Merged
Prev Previous commit
Next Next commit
Fix Operations_List
  • Loading branch information
v-ilseka committed Feb 22, 2019
commit 0e2f59e07fae1f5ec076c69ba868603ca830e368
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"tags": [
"Operations"
],
"operationId": "Operations_Get",
"operationId": "Operations_List",
"produces": [
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

consumes?

Copy link
Contributor Author

@v-ilseka v-ilseka Apr 25, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

consumes?

If you mean - does the Operations action consumes some parameters - then no.
Otherwise please clarify your question.

Kind regards.

"application/json"
],
Expand All @@ -34,22 +34,26 @@
"x-nullable": true,
v-ilseka marked this conversation as resolved.
Show resolved Hide resolved
"description": "",
"schema": {
"type": "array",
"items": {
"$ref": "#/definitions/Operation"
}
"$ref": "#/definitions/OperationList"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this a pageable operation?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this a pageable operation?

No

}
}
},
"x-ms-examples": {
"Get Operations": {
"$ref": "./examples/GetOperations.json"
"List Operations": {
"$ref": "./examples/Operations_List.json"
}
}
}
}
},
"definitions": {
"OperationList": {
"type": "array",
"description": "List of supported operations.",
"items": {
"$ref": "#/definitions/Operation"
}
},
"Operation": {
"type": "object",
"additionalProperties": false,
Expand Down Expand Up @@ -132,4 +136,4 @@
}
}
}
}
}