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

Adding PowerPlatform swagger. #10651

Merged
merged 44 commits into from
Sep 17, 2020
Merged
Show file tree
Hide file tree
Changes from 41 commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
cd785e5
PowerPlatform RP specifications
rapatank Aug 28, 2020
e151577
PowerPlatform changes
rapatank Aug 31, 2020
78e46e4
Updating powerplatform json
rapatank Aug 31, 2020
427ee1a
Update definitions.json
rapatank Aug 31, 2020
ebc1721
Updating the schema
rapatank Sep 1, 2020
11a7c98
Updated the schema.
rapatank Sep 1, 2020
2df5362
Updates to schema
rapatank Sep 1, 2020
b9a8313
Schema update
rapatank Sep 1, 2020
96d3724
Schema update
rapatank Sep 1, 2020
ef80aa7
Example update
rapatank Sep 1, 2020
9176284
Update description
rapatank Sep 1, 2020
13bba62
Merge branch 'master' of https://github.com/Azure/azure-rest-api-spec…
rapatank Sep 1, 2020
3d29651
Updating the swagger
rapatank Sep 1, 2020
a1860b6
Updating the swagger definition
rapatank Sep 1, 2020
2702186
Swagger update.
rapatank Sep 1, 2020
744dca9
Swagger updates
rapatank Sep 1, 2020
727a2d4
Adding private link changes.
rapatank Sep 2, 2020
54d2857
Updates to readme.md
rapatank Sep 2, 2020
6be2038
Private link updates
rapatank Sep 2, 2020
cf306c6
Schema update
rapatank Sep 2, 2020
d056bb8
private link update
rapatank Sep 2, 2020
d980951
response update
rapatank Sep 2, 2020
274ff3f
Added systemData
rapatank Sep 2, 2020
e1b4b31
Updated description.
rapatank Sep 2, 2020
0294be7
Adding subnet configuration
rapatank Sep 3, 2020
ee9c034
readme update.
rapatank Sep 3, 2020
1a08032
Adding systemData.
rapatank Sep 3, 2020
e9ead83
Updated example
rapatank Sep 3, 2020
0f48cd1
Update
rapatank Sep 3, 2020
830777c
Update to systemData
rapatank Sep 3, 2020
13d5d5b
Updates
rapatank Sep 3, 2020
5873c3b
Updates
rapatank Sep 3, 2020
647588a
Updated the version of common types
rapatank Sep 3, 2020
60207f6
readme.go update
rapatank Sep 3, 2020
d2849d2
Update
rapatank Sep 3, 2020
a2ca562
Updated version
rapatank Sep 3, 2020
f8a6e58
version update
rapatank Sep 3, 2020
4f0d9be
update
rapatank Sep 3, 2020
0d0057d
update
rapatank Sep 3, 2020
dce442b
Updated "enterprisePromise" to "enterprisePolicy".
rapatank Sep 10, 2020
28a766b
Updates
rapatank Sep 13, 2020
b4b4459
Updates
rapatank Sep 14, 2020
eae057d
Updating to use common type
rapatank Sep 14, 2020
5e23a00
updates
rapatank Sep 14, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions azure-rest-api-specs
Submodule azure-rest-api-specs added at 545a9a
Original file line number Diff line number Diff line change
@@ -0,0 +1,190 @@
{
"swagger": "2.0",
"security": [
{
"azure_auth": [
"user_impersonation"
]
}
],
"securityDefinitions": {
"azure_auth": {
"type": "oauth2",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"flow": "implicit",
"description": "Azure Active Directory OAuth2 Flow",
"scopes": {
"user_impersonation": "impersonate your user account"
}
}
},
"info": {
"version": "v1",
"title": "Common types"
},
"paths": {},
"definitions": {
"ErrorResponse": {
"description": "ARM error response body.",
"type": "object",
"properties": {
"error": {
"$ref": "#/definitions/ErrorResponseBody",
"description": "Details about the error."
}
}
},
"ErrorResponseBody": {
"properties": {
"code": {
"type": "string",
"description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
},
"message": {
"type": "string",
"description": "A message describing the error, intended to be suitable for display in a user interface."
},
"target": {
"type": "string",
"description": "The target of the particular error. For example, the name of the property in error."
}
},
"description": "An error response from the PowerPlatform service."
},
"Resource": {
Copy link
Contributor

Choose a reason for hiding this comment

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

As commented in different file; these should refer to global common definitions rather than copying locally.

"description": "The core properties of ARM resources",
"type": "object",
"properties": {
"id": {
"type": "string",
"readOnly": true,
"description": "ARM resource id of the EnterprisePolicy."
},
"name": {
"type": "string",
"readOnly": true,
"description": "Name of the EnterprisePolicy."
},
"location": {
"type": "string",
"readOnly": true,
"description": "Region where the EnterprisePolicy is located."
},
"type": {
"readOnly": true,
"type": "string",
"description": "The type of the resource."
}
},
"x-ms-azure-resource": true
},
"TrackedResource": {
"description": "The resource model definition for a ARM tracked top level resource",
"type": "object",
"properties": {
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"x-ms-mutability": [
"read",
"create",
"update"
],
"description": "Resource tags."
},
"location": {
"type": "string",
"x-ms-mutability": [
"read",
"create"
],
"description": "The Azure Region where the resource lives"
}
},
"allOf": [
{
"$ref": "#/definitions/Resource"
}
]
},
"ProxyResource": {
"description": "ARM proxy resource.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/Resource"
}
],
"properties": {}
},
"Operation": {
"description": "PowerPlatform REST API operation",
"type": "object",
"properties": {
"name": {
"description": "Operation name: For ex. providers/Microsoft.PowerPlatform/enterprisePolicies/write or read",
"type": "string"
},
"isDataAction": {
"description": "Indicates whether the operation is a data action",
"type": "string"
},
"display": {
"properties": {
"provider": {
"description": "Service provider: Microsoft.PowerPlatform",
"type": "string"
},
"resource": {
"description": "Resource on which the operation is performed.",
"type": "string"
},
"operation": {
"description": "Operation type: Read, write, delete, etc.",
"type": "string"
},
"description": {
"description": "Description about operation.",
"type": "string"
}
},
"description": "Provider, Resource, Operation and description values."
},
"properties": {
"properties": {
"statusCode": {
"description": "Service provider: Microsoft.PowerPlatform",
"type": "string"
}
},
"x-ms-client-flatten": true,
"description": "Provider, Resource, Operation and description values."
}
}
},
"OperationList": {
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "#/definitions/Operation"
},
"description": "List of PowerPlatform operations supported by the PowerPlatform resource provider."
}
},
"description": "The response model for the list of PowerPlatform operations"
}
},
"parameters": {
"EnterprisePolicyNameParameter": {
"name": "enterprisePolicyName",
"in": "path",
"required": true,
"type": "string",
"description": "EnterprisePolicy for the Microsoft Azure subscription.",
"x-ms-parameter-location": "method"
}
}
}
Loading