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

AAS - Fix Swagger Correctness Issue #12306

Merged
merged 8 commits into from
Jan 8, 2021
Merged
Show file tree
Hide file tree
Changes from all 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
Expand Up @@ -838,6 +838,11 @@
"description": "Operation type: Read, write, delete, etc.",
"type": "string",
"readOnly": true
},
"description": {
"description": "Description of the operation object.",
"type": "string",
"readOnly": true
}
}
},
Expand Down Expand Up @@ -1203,15 +1208,16 @@
"type": "object",
"properties": {
"status": {
"type": "string",
"type": "integer",
"format": "int32",
"enum": [
"Live"
0
],
"x-ms-enum": {
"name": "Status",
"modelAsString": false
},
"description": "Live message of list gateway."
"description": "Live message of list gateway. Status: 0 - Live"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"200": {
"headers": {},
"body": {
"status": "Live"
"status": 0
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1113,6 +1113,14 @@
"message": {
"description": "Error message indicating why the operation failed.",
"type": "string"
},
"subCode": {
"description": "The error sub code",
"type": "string"
},
"httpStatusCode": {
"description": "The http status code",
"type": "string"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1093,15 +1093,16 @@
"type": "object",
"properties": {
"status": {
"type": "string",
"type": "integer",
"format": "int32",
"enum": [
"Live"
0
],
"x-ms-enum": {
"name": "Status",
"modelAsString": false
},
"description": "Live message of list gateway."
"description": "Live message of list gateway. Status: 0 - Live"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -838,6 +838,11 @@
"description": "Operation type: Read, write, delete, etc.",
"type": "string",
"readOnly": true
},
"description": {
"description": "Description of the operation object.",
"type": "string",
"readOnly": true
}
}
},
Expand Down Expand Up @@ -1111,6 +1116,20 @@
},
"default": 1,
"description": "The managed mode of the server (0 = not managed, 1 = managed)."
},
"serverMonitorMode": {
"type": "integer",
"format": "int32",
"enum": [
0,
1
],
"x-ms-enum": {
"modelAsString": false,
"name": "ServerMonitorMode"
},
"default": 1,
"description": "The server monitor mode for AS server"
}
}
},
Expand Down Expand Up @@ -1189,15 +1208,16 @@
"type": "object",
"properties": {
"status": {
"type": "string",
"type": "integer",
"format": "int32",
"enum": [
"Live"
0
],
"x-ms-enum": {
"name": "Status",
"modelAsString": false
},
"description": "Live message of list gateway."
"description": "Live message of list gateway. Status: 0 - Live"
}
}
},
Expand All @@ -1222,6 +1242,14 @@
"message": {
"type": "string",
"description": "Error message of list gateway."
},
"subCode": {
"description": "The error sub code",
"type": "string"
},
"httpStatusCode": {
"description": "The http status code",
"type": "string"
}
}
},
Expand Down Expand Up @@ -1347,6 +1375,14 @@
"message": {
"description": "Error message indicating why the operation failed.",
"type": "string"
},
"subCode": {
"description": "The error sub code",
"type": "string"
},
"httpStatusCode": {
"description": "The http status code",
"type": "string"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"200": {
"headers": {},
"body": {
"status": "Live"
"status": 0
}
}
}
Expand Down