Skip to content

Commit 5af851c

Browse files
authored
Reorder the swagger actions following relativePath_httpmethod (#20524)
* Reorder the swagger actions following relativePath_httpmethod * Create HealthApi_GetServiceStatus.json * Add files via upload * Update webpubsub.json * Update HealthApi_GetServiceStatus.json * Update webpubsub.json * Fix sample failure * Add message * Prettier * avoid breaking change * resolve comments * clean up error body for HEAD * fix build failure * fix build failure
1 parent 3817b12 commit 5af851c

22 files changed

+568
-266
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-10-01"
4+
},
5+
"responses": {
6+
"200": {}
7+
}
8+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-10-01",
4+
"hub": "hub1",
5+
"group": "group1",
6+
"connectionId": "connection1"
7+
},
8+
"responses": {
9+
"200": {}
10+
}
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-10-01",
4+
"hub": "hub1",
5+
"group": "group1",
6+
"userId": "user1"
7+
},
8+
"responses": {
9+
"200": {}
10+
}
11+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-10-01",
4+
"hub": "hub1",
5+
"permission": "joinLeaveGroup",
6+
"connectionId": "connection1",
7+
"targetName": "group1"
8+
},
9+
"responses": {
10+
"200": {},
11+
"404": {}
12+
}
13+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-10-01",
4+
"hub": "hub1",
5+
"reason": "Close reason"
6+
},
7+
"responses": {
8+
"204": {}
9+
}
10+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-10-01",
4+
"hub": "hub1",
5+
"connectionId": "connection1",
6+
"reason": "Close reason"
7+
},
8+
"responses": {
9+
"204": {}
10+
}
11+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-10-01",
4+
"hub": "hub1",
5+
"group": "group1",
6+
"reason": "Close reason"
7+
},
8+
"responses": {
9+
"204": {}
10+
}
11+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-10-01",
4+
"hub": "hub1",
5+
"userId": "user1",
6+
"reason": "Close reason"
7+
},
8+
"responses": {
9+
"204": {}
10+
}
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-10-01",
4+
"hub": "hub1",
5+
"connectionId": "connection1"
6+
},
7+
"responses": {
8+
"200": {},
9+
"404": {}
10+
}
11+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-10-01",
4+
"hub": "hub1",
5+
"userId": "user1",
6+
"minutesToExpire": 5
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"token": "ABC"
12+
}
13+
}
14+
}
15+
}

0 commit comments

Comments
 (0)