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

updating autorest to emit response headers in lexicographic order #414

Merged
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
changeKind: fix
packages:
- "@azure-tools/typespec-autorest"
---

updating autorest to emit response headers in lexicographic order
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,10 @@
"$ref": "#/definitions/Manufacturer"
},
"headers": {
"ETag": {
"type": "string",
"description": "The entity tag for the response."
},
"Repeatability-Result": {
"type": "string",
"description": "Indicates whether the repeatable request was accepted or rejected.",
Expand All @@ -203,10 +207,6 @@
]
}
},
"ETag": {
"type": "string",
"description": "The entity tag for the response."
},
"x-ms-client-request-id": {
"type": "string",
"format": "uuid",
Expand All @@ -220,6 +220,10 @@
"$ref": "#/definitions/Manufacturer"
},
"headers": {
"ETag": {
"type": "string",
"description": "The entity tag for the response."
},
"Repeatability-Result": {
"type": "string",
"description": "Indicates whether the repeatable request was accepted or rejected.",
Expand All @@ -244,10 +248,6 @@
]
}
},
"ETag": {
"type": "string",
"description": "The entity tag for the response."
},
"x-ms-client-request-id": {
"type": "string",
"format": "uuid",
Expand Down Expand Up @@ -674,6 +674,15 @@
"$ref": "#/definitions/Widget"
},
"headers": {
"ETag": {
"type": "string",
"description": "The entity tag for the response."
},
"Operation-Location": {
"type": "string",
"format": "uri",
"description": "The location for monitoring the operation state."
},
"Repeatability-Result": {
"type": "string",
"description": "Indicates whether the repeatable request was accepted or rejected.",
Expand All @@ -698,19 +707,10 @@
]
}
},
"ETag": {
"type": "string",
"description": "The entity tag for the response."
},
"x-ms-client-request-id": {
"type": "string",
"format": "uuid",
"description": "An opaque, globally-unique, client-generated string identifier for the request."
},
"Operation-Location": {
"type": "string",
"format": "uri",
"description": "The location for monitoring the operation state."
}
}
},
Expand All @@ -720,6 +720,15 @@
"$ref": "#/definitions/Widget"
},
"headers": {
"ETag": {
"type": "string",
"description": "The entity tag for the response."
},
"Operation-Location": {
"type": "string",
"format": "uri",
"description": "The location for monitoring the operation state."
},
"Repeatability-Result": {
"type": "string",
"description": "Indicates whether the repeatable request was accepted or rejected.",
Expand All @@ -744,19 +753,10 @@
]
}
},
"ETag": {
"type": "string",
"description": "The entity tag for the response."
},
"x-ms-client-request-id": {
"type": "string",
"format": "uuid",
"description": "An opaque, globally-unique, client-generated string identifier for the request."
},
"Operation-Location": {
"type": "string",
"format": "uri",
"description": "The location for monitoring the operation state."
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,15 @@
"$ref": "#/definitions/Widget"
},
"headers": {
"ETag": {
"type": "string",
"description": "The entity tag for the response."
},
"Operation-Location": {
"type": "string",
"format": "uri",
"description": "The location for monitoring the operation state."
},
"Repeatability-Result": {
"type": "string",
"description": "Indicates whether the repeatable request was accepted or rejected.",
Expand All @@ -206,19 +215,10 @@
]
}
},
"ETag": {
"type": "string",
"description": "The entity tag for the response."
},
"x-ms-client-request-id": {
"type": "string",
"format": "uuid",
"description": "An opaque, globally-unique, client-generated string identifier for the request."
},
"Operation-Location": {
"type": "string",
"format": "uri",
"description": "The location for monitoring the operation state."
}
}
},
Expand All @@ -228,6 +228,15 @@
"$ref": "#/definitions/Widget"
},
"headers": {
"ETag": {
"type": "string",
"description": "The entity tag for the response."
},
"Operation-Location": {
"type": "string",
"format": "uri",
"description": "The location for monitoring the operation state."
},
"Repeatability-Result": {
"type": "string",
"description": "Indicates whether the repeatable request was accepted or rejected.",
Expand All @@ -252,19 +261,10 @@
]
}
},
"ETag": {
"type": "string",
"description": "The entity tag for the response."
},
"x-ms-client-request-id": {
"type": "string",
"format": "uuid",
"description": "An opaque, globally-unique, client-generated string identifier for the request."
},
"Operation-Location": {
"type": "string",
"format": "uri",
"description": "The location for monitoring the operation state."
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -598,6 +598,11 @@
"$ref": "#/definitions/Widget"
},
"headers": {
"Operation-Location": {
"type": "string",
"format": "uri",
"description": "The location for monitoring the operation state."
},
"Repeatability-Result": {
"type": "string",
"description": "Indicates whether the repeatable request was accepted or rejected.",
Expand Down Expand Up @@ -626,11 +631,6 @@
"type": "string",
"format": "uuid",
"description": "An opaque, globally-unique, client-generated string identifier for the request."
},
"Operation-Location": {
"type": "string",
"format": "uri",
"description": "The location for monitoring the operation state."
}
}
},
Expand All @@ -640,6 +640,11 @@
"$ref": "#/definitions/Widget"
},
"headers": {
"Operation-Location": {
"type": "string",
"format": "uri",
"description": "The location for monitoring the operation state."
},
"Repeatability-Result": {
"type": "string",
"description": "Indicates whether the repeatable request was accepted or rejected.",
Expand Down Expand Up @@ -668,11 +673,6 @@
"type": "string",
"format": "uuid",
"description": "An opaque, globally-unique, client-generated string identifier for the request."
},
"Operation-Location": {
"type": "string",
"format": "uri",
"description": "The location for monitoring the operation state."
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,10 @@
"$ref": "#/definitions/Manufacturer"
},
"headers": {
"ETag": {
"type": "string",
"description": "The entity tag for the response."
},
"Repeatability-Result": {
"type": "string",
"description": "Indicates whether the repeatable request was accepted or rejected.",
Expand All @@ -203,10 +207,6 @@
]
}
},
"ETag": {
"type": "string",
"description": "The entity tag for the response."
},
"x-ms-client-request-id": {
"type": "string",
"format": "uuid",
Expand All @@ -220,6 +220,10 @@
"$ref": "#/definitions/Manufacturer"
},
"headers": {
"ETag": {
"type": "string",
"description": "The entity tag for the response."
},
"Repeatability-Result": {
"type": "string",
"description": "Indicates whether the repeatable request was accepted or rejected.",
Expand All @@ -244,10 +248,6 @@
]
}
},
"ETag": {
"type": "string",
"description": "The entity tag for the response."
},
"x-ms-client-request-id": {
"type": "string",
"format": "uuid",
Expand Down Expand Up @@ -674,6 +674,15 @@
"$ref": "#/definitions/Widget"
},
"headers": {
"ETag": {
"type": "string",
"description": "The entity tag for the response."
},
"Operation-Location": {
"type": "string",
"format": "uri",
"description": "The location for monitoring the operation state."
},
"Repeatability-Result": {
"type": "string",
"description": "Indicates whether the repeatable request was accepted or rejected.",
Expand All @@ -698,19 +707,10 @@
]
}
},
"ETag": {
"type": "string",
"description": "The entity tag for the response."
},
"x-ms-client-request-id": {
"type": "string",
"format": "uuid",
"description": "An opaque, globally-unique, client-generated string identifier for the request."
},
"Operation-Location": {
"type": "string",
"format": "uri",
"description": "The location for monitoring the operation state."
}
}
},
Expand All @@ -720,6 +720,15 @@
"$ref": "#/definitions/Widget"
},
"headers": {
"ETag": {
"type": "string",
"description": "The entity tag for the response."
},
"Operation-Location": {
"type": "string",
"format": "uri",
"description": "The location for monitoring the operation state."
},
"Repeatability-Result": {
"type": "string",
"description": "Indicates whether the repeatable request was accepted or rejected.",
Expand All @@ -744,19 +753,10 @@
]
}
},
"ETag": {
"type": "string",
"description": "The entity tag for the response."
},
"x-ms-client-request-id": {
"type": "string",
"format": "uuid",
"description": "An opaque, globally-unique, client-generated string identifier for the request."
},
"Operation-Location": {
"type": "string",
"format": "uri",
"description": "The location for monitoring the operation state."
}
}
},
Expand Down
Loading
Loading