Skip to content
This repository was archived by the owner on Jun 5, 2026. It is now read-only.
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
8 changes: 8 additions & 0 deletions swagger/examples/Float_Get.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"parameters": {},
"responses": {
"200": {
"body": 429.1
}
}
}
10 changes: 10 additions & 0 deletions swagger/examples/Float_put.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"parameters": {
"input": 200.4
},
"responses": {
"200": {
"body": "Nice job posting a float enum"
}
}
}
8 changes: 8 additions & 0 deletions swagger/examples/Int_get.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"parameters": {},
"responses": {
"200": {
"body": 429
}
}
}
10 changes: 10 additions & 0 deletions swagger/examples/Int_put.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"parameters": {
"input": 200
},
"responses": {
"200": {
"body": "Nice job posting an int enum"
}
}
}
6 changes: 6 additions & 0 deletions swagger/examples/httpSuccess_head200.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parameters": {},
"responses": {
"200": {}
}
}
6 changes: 6 additions & 0 deletions swagger/examples/httpSuccess_head204.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parameters": {},
"responses": {
"204": {}
}
}
6 changes: 6 additions & 0 deletions swagger/examples/httpSuccess_head404.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parameters": {},
"responses": {
"204": {}
}
}
8 changes: 8 additions & 0 deletions swagger/examples/queries_ArrayStringMultiEmpty.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"parameters": {
"arrayQuery": ""
},
"responses": {
"200": {}
}
}
7 changes: 7 additions & 0 deletions swagger/examples/queries_ArrayStringMultiNull.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"parameters": {
},
"responses": {
"200": {}
}
}
8 changes: 8 additions & 0 deletions swagger/examples/queries_ArrayStringMultiValid.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"parameters": {
"arrayQuery": "ArrayQuery1,begin!*'();:@ &=+$,/?#[]end,,"
},
"responses": {
"200": {}
}
}
15 changes: 15 additions & 0 deletions swagger/head.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
"head": {
"operationId": "httpSuccess_head200",
"description": "Return 200 status code if successful",
"x-ms-examples": {
"httpSuccess_head200": {
"$ref": "./examples/httpSuccess_head200.json"
}
},
"tags": [
"HttpSuccess Operations"
],
Expand All @@ -36,6 +41,11 @@
"head": {
"operationId": "httpSuccess_head204",
"description": "Return 204 status code if successful",
"x-ms-examples": {
"httpSuccess_head204": {
"$ref": "./examples/httpSuccess_head204.json"
}
},
"tags": [
"HttpSuccess Operations"
],
Expand All @@ -56,6 +66,11 @@
"head": {
"operationId": "httpSuccess_head404",
"description": "Return 404 status code if successful",
"x-ms-examples": {
"httpSuccess_head404": {
"$ref": "./examples/httpSuccess_head404.json"
}
},
"tags": [
"HttpSuccess Operations"
],
Expand Down
20 changes: 20 additions & 0 deletions swagger/non-string-enum.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
"put": {
"description": "Put an int enum",
"operationId": "Int_put",
"x-ms-examples": {
"Int_put": {
"$ref": "./examples/Int_put.json"
}
},
"parameters": [
{
"name": "input",
Expand All @@ -41,6 +46,11 @@
"get": {
"description": "Get an int enum",
"operationId": "Int_get",
"x-ms-examples": {
"Int_get": {
"$ref": "./examples/Int_get.json"
}
},
"responses": {
"200": {
"description": "Returns int enum",
Expand All @@ -55,6 +65,11 @@
"put": {
"description": "Put a float enum",
"operationId": "Float_put",
"x-ms-examples": {
"Float_put": {
"$ref": "./examples/Float_put.json"
}
},
"parameters": [
{
"name": "input",
Expand All @@ -80,6 +95,11 @@
"get": {
"description": "Get a float enum",
"operationId": "Float_Get",
"x-ms-examples": {
"Float_Get": {
"$ref": "./examples/Float_Get.json"
}
},
"responses": {
"200": {
"description": "Returns float enum",
Expand Down
15 changes: 15 additions & 0 deletions swagger/url-multi-collectionFormat.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
"get": {
"operationId": "queries_ArrayStringMultiNull",
"description": "Get a null array of string using the multi-array format",
"x-ms-examples": {
"queries_ArrayStringMultiNull": {
"$ref": "./examples/queries_ArrayStringMultiNull.json"
}
},
"tags": [
"query Operations"
],
Expand Down Expand Up @@ -48,6 +53,11 @@
"get": {
"operationId": "queries_ArrayStringMultiEmpty",
"description": "Get an empty array [] of string using the multi-array format",
"x-ms-examples": {
"queries_ArrayStringMultiEmpty": {
"$ref": "./examples/queries_ArrayStringMultiEmpty.json"
}
},
"tags": [
"query Operations"
],
Expand Down Expand Up @@ -80,6 +90,11 @@
"get": {
"operationId": "queries_ArrayStringMultiValid",
"description": "Get an array of string ['ArrayQuery1', 'begin!*'();:@ &=+$,/?#[]end' , null, ''] using the mult-array format",
"x-ms-examples": {
"queries_ArrayStringMultiValid": {
"$ref": "./examples/queries_ArrayStringMultiValid.json"
}
},
"tags": [
"query Operations"
],
Expand Down