-
Notifications
You must be signed in to change notification settings - Fork 5.6k
[Logic App Integration Account][Bug Fix] : Swagger spec updated as per the latest changes in the RP … #891
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
af574d2
[Bug Fix] : Swagger spec updated as per the latest changes in the RP …
pankajsn e7a7947
ID, Name, Type properties are set to read only in IntegrationAccountR…
pankajsn 18f2c56
Fixed linter warning regarding missing description for model types
pankajsn 0ec6bdc
Resolved Autorest linter validation warnings
pankajsn 7089d50
Resolved NonAppJsonTypeWarning
pankajsn 75076ce
Fixed code review comments reg. naming conv. & required, read-only at…
pankajsn 573ddb3
Fixed code review comments
pankajsn ecc34b7
Space removed from the comment
pankajsn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Resolved Autorest linter validation warnings
- Loading branch information
commit 0ec6bdcc4d8658dfa33b6d929ab7198dd54d85c7
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2479,21 +2479,56 @@ | |
| } | ||
| } | ||
| } | ||
| }, | ||
| "/providers/Microsoft.Logic/operations": { | ||
| "get": { | ||
| "tags": [ | ||
| "Operations" | ||
| ], | ||
|
|
||
| "description": "Lists all of the available Logic REST API operations.", | ||
| "operationId": "ListOperations", | ||
| "parameters": [ | ||
| { | ||
| "$ref": "#/parameters/api-version" | ||
| } | ||
| ], | ||
| "responses": { | ||
| "200": { | ||
| "description": "OK. The request has succeeded.", | ||
| "schema": { | ||
| "$ref": "#/definitions/OperationListResult" | ||
| } | ||
| }, | ||
| "default": { | ||
| "description": "Logic error response describing why the operation failed.", | ||
| "schema": { | ||
| "$ref": "#/definitions/ErrorResponse" | ||
| } | ||
| } | ||
| }, | ||
| "x-ms-pageable": { | ||
| "nextLinkName": "nextLink" | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "definitions": { | ||
| "Resource": { | ||
| "properties": { | ||
| "id": { | ||
| "type": "string", | ||
| "readOnly": true, | ||
| "description": "The resource id." | ||
| }, | ||
| "name": { | ||
| "type": "string", | ||
| "readOnly": true, | ||
| "description": "Gets the resource name." | ||
| }, | ||
| "type": { | ||
| "type": "string", | ||
| "readOnly": true, | ||
| "description": "Gets the resource type." | ||
| }, | ||
| "location": { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What about location being required?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not required as described in RP definitions |
||
|
|
@@ -3275,6 +3310,9 @@ | |
| }, | ||
| "Sku": { | ||
| "type": "object", | ||
| "required": [ | ||
| "name" | ||
| ], | ||
| "properties": { | ||
| "name": { | ||
| "$ref": "#/definitions/SkuName", | ||
|
|
@@ -4020,6 +4058,9 @@ | |
| }, | ||
| "IntegrationAccountSku": { | ||
| "type": "object", | ||
| "required": [ | ||
| "name" | ||
| ], | ||
| "properties": { | ||
| "name": { | ||
| "$ref": "#/definitions/IntegrationAccountSkuName", | ||
|
|
@@ -6058,6 +6099,63 @@ | |
| } | ||
| }, | ||
| "description": "The reference to the key vault key." | ||
| }, | ||
| "Operation": { | ||
| "description": "Logic REST API operation", | ||
| "type": "object", | ||
| "properties": { | ||
| "name": { | ||
| "description": "Operation name: {provider}/{resource}/{operation}", | ||
| "type": "string" | ||
| }, | ||
| "display": { | ||
| "description": "The object that represents the operation.", | ||
| "properties": { | ||
| "provider": { | ||
| "description": "Service provider: Microsoft.Logic", | ||
| "type": "string" | ||
| }, | ||
| "resource": { | ||
| "description": "Resource on which the operation is performed: Profile, endpoint, etc.", | ||
| "type": "string" | ||
| }, | ||
| "operation": { | ||
| "description": "Operation type: Read, write, delete, etc.", | ||
| "type": "string" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "OperationListResult": { | ||
| "description": "Result of the request to list Logic operations. It contains a list of operations and a URL link to get the next set of results.", | ||
| "properties": { | ||
| "value": { | ||
| "type": "array", | ||
| "items": { | ||
| "$ref": "#/definitions/Operation" | ||
| }, | ||
| "description": "List of Logic operations supported by the Logic resource provider." | ||
| }, | ||
| "nextLink": { | ||
| "type": "string", | ||
| "description": "URL to get the next set of operation list results if there are any." | ||
| } | ||
| } | ||
| }, | ||
| "ErrorResponse": { | ||
| "description": "Error reponse indicates Logic service is not able to process the incoming request. The reason is provided in the error message.", | ||
| "type": "object", | ||
| "properties": { | ||
| "code": { | ||
| "description": "Error code.", | ||
| "type": "string" | ||
| }, | ||
| "message": { | ||
| "description": "Error message indicating why the operation failed.", | ||
| "type": "string" | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "parameters": { | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pankajsn There is an issue #898 reported by a customer which is correct. Can you please resolve this issue, by accurately representing the properties of "Resource"
"readOnly": true."readOnly": trueas per ARM guidelines."required": ["location"]?