Skip to content

Commit

Permalink
EventGrid: Fix remaining swagger correctness issues (Azure#13242)
Browse files Browse the repository at this point in the history
* 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

Co-authored-by: Ashraf Hamad <ahamad@ntdev.microsoft.com>
  • Loading branch information
2 people authored and mkarmark committed Jul 20, 2021
1 parent 98f2fab commit 6a9f1f2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6048,6 +6048,7 @@
"Failed"
],
"type": "string",
"readOnly": true,
"x-ms-enum": {
"name": "DomainTopicProvisioningState",
"modelAsString": true
Expand All @@ -6067,6 +6068,7 @@
"properties": {
"$ref": "#/definitions/DomainTopicProperties",
"description": "Properties of the Domain Topic.",
"readOnly": true,
"x-ms-client-flatten": true
},
"systemData": {
Expand All @@ -6078,18 +6080,18 @@
}
},
"DomainTopicsListResult": {
"description": "Result of the List Domain Topics operation",
"description": "Result of the List Domain Topics operation.",
"type": "object",
"properties": {
"value": {
"description": "A collection of Domain Topics",
"description": "A collection of Domain Topics.",
"type": "array",
"items": {
"$ref": "#/definitions/DomainTopic"
}
},
"nextLink": {
"description": "A link for the next page of domain topics",
"description": "A link for the next page of domain topics.",
"type": "string"
}
}
Expand Down Expand Up @@ -8073,7 +8075,8 @@
"description": "Identity information for the resource."
},
"systemData": {
"description": "The system metadata relating to this resource.",
"description": "The system metadata relating to System Topic resource.",
"type": "object",
"readOnly": true,
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3189,6 +3189,7 @@
"DomainTopicProperties": {
"description": "Properties of the Domain Topic.",
"type": "object",
"readOnly": true,
"properties": {
"provisioningState": {
"description": "Provisioning state of the domain topic.",
Expand All @@ -3201,6 +3202,7 @@
"Failed"
],
"type": "string",
"readOnly": true,
"x-ms-enum": {
"name": "DomainTopicProvisioningState",
"modelAsString": true
Expand All @@ -3220,6 +3222,7 @@
"properties": {
"$ref": "#/definitions/DomainTopicProperties",
"description": "Properties of the Domain Topic.",
"readOnly": true,
"x-ms-client-flatten": true
},
"systemData": {
Expand Down

0 comments on commit 6a9f1f2

Please sign in to comment.