Skip to content

Commit

Permalink
EventGrid (2020-06-10 and 2020-10-15-preview): Swagger Correctness --…
Browse files Browse the repository at this point in the history
…- Fix swagger for setting readonly for privateEndpointConnections for topic, domain properties (Azure#13397)

* fix example

* Fix multiple linter and swagger correctness/completeness issues for latest preview and stable api version

* Fix format

* fix examples

* fix validation model errors

* fix validation model errors

* fix example

* remove default

* revert 2020-06 changes

* fix eventgrid swagger file with multiple linter and correctness fixes

* fix 2020-06-01 stable swagger

* fix 2020-06-01 stable swagger -- part 2

* fix format

* fix prettier check

* additional format fix

* fix examples and wrong response code

* fix validator

* fix validator

* fix remaining swagger correctness issues

* fix end of file

* fix lintter

* Add readonly tag for privateEndpointConnections for both domain and topic properties

* Fix sku default value

* fix prettier

Co-authored-by: Ashraf Hamad <ahamad@ntdev.microsoft.com>
  • Loading branch information
2 people authored and mkarmark committed Jul 20, 2021
1 parent 9126ba3 commit fc86ca2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5517,7 +5517,8 @@
"type": "array",
"items": {
"$ref": "#/definitions/PrivateEndpointConnection"
}
},
"readOnly": true
},
"provisioningState": {
"description": "Provisioning state of the domain.",
Expand Down Expand Up @@ -5592,6 +5593,7 @@
"properties": {
"name": {
"description": "The Sku name of the resource. The possible values are: Basic or Premium.",
"default": "Basic",
"enum": [
"Basic",
"Premium"
Expand Down Expand Up @@ -5922,8 +5924,7 @@
},
"sku": {
"$ref": "#/definitions/ResourceSku",
"description": "The Sku pricing tier for the domain.",
"default": "Basic"
"description": "The Sku pricing tier for the domain."
},
"identity": {
"$ref": "#/definitions/IdentityInfo",
Expand Down Expand Up @@ -8124,7 +8125,8 @@
"type": "array",
"items": {
"$ref": "#/definitions/PrivateEndpointConnection"
}
},
"readOnly": true
},
"provisioningState": {
"description": "Provisioning state of the topic.",
Expand Down Expand Up @@ -8223,8 +8225,7 @@
},
"sku": {
"$ref": "#/definitions/ResourceSku",
"description": "The Sku pricing tier for the topic.",
"default": "Basic"
"description": "The Sku pricing tier for the topic."
},
"identity": {
"$ref": "#/definitions/IdentityInfo",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2754,7 +2754,8 @@
"type": "array",
"items": {
"$ref": "#/definitions/PrivateEndpointConnection"
}
},
"readOnly": true
},
"provisioningState": {
"description": "Provisioning state of the domain.",
Expand Down Expand Up @@ -4179,7 +4180,8 @@
"type": "array",
"items": {
"$ref": "#/definitions/PrivateEndpointConnection"
}
},
"readOnly": true
},
"provisioningState": {
"description": "Provisioning state of the topic.",
Expand Down

0 comments on commit fc86ca2

Please sign in to comment.