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
27 changes: 21 additions & 6 deletions swagger/body-boolean.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
"operationId": "bool_getTrue",
"description": "Get true Boolean value",
"x-ms-examples": {
"bool_getTrue": {
"$ref": "./examples/bool_getTrue.json"
}
"bool_getTrue": {
"$ref": "./examples/bool_getTrue.json"
}
},
"tags": [
"Bool Operations"
Expand All @@ -44,9 +44,9 @@
"operationId": "bool_putTrue",
"description": "Set Boolean value true",
"x-ms-examples": {
"bool_putTrue": {
"$ref": "./examples/bool_putTrue.json"
}
"bool_putTrue": {
"$ref": "./examples/bool_putTrue.json"
}
},
"parameters": [
{
Expand Down Expand Up @@ -79,6 +79,11 @@
"get": {
"operationId": "bool_getFalse",
"description": "Get false Boolean value",
"x-ms-examples": {
"bool_getFalse": {
"$ref": "./examples/bool_getFalse.json"
}
},
"tags": [
"Bool Operations"
],
Expand All @@ -101,6 +106,11 @@
"put": {
"operationId": "bool_putFalse",
"description": "Set Boolean value false",
"x-ms-examples": {
"bool_putFalse": {
"$ref": "./examples/bool_putFalse.json"
}
},
"parameters": [
{
"name": "boolBody",
Expand Down Expand Up @@ -132,6 +142,11 @@
"get": {
"operationId": "bool_getNull",
"description": "Get null Boolean value",
"x-ms-examples": {
"bool_getNull": {
"$ref": "./examples/bool_getNull.json"
}
},
"tags": [
"Bool Operations"
],
Expand Down
5 changes: 5 additions & 0 deletions swagger/body-byte.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
"get": {
"operationId": "byte_getNull",
"description": "Get null byte value",
"x-ms-examples": {
"byte_getNull": {
"$ref": "./examples/byte_getNull.json"
}
},
"tags": [
"Byte Operations"
],
Expand Down
10 changes: 10 additions & 0 deletions swagger/custom-baseUrl-paging.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@
"get": {
"operationId": "Paging_getPagesPartialUrl",
"description": "A paging operation that combines custom url, paging and partial URL and expect to concat after host",
"x-ms-examples": {
"Paging_getPagesPartialUrl": {
"$ref": "./examples/Paging_getPagesPartialUrl.json"
}
},
"responses": {
"200": {
"description": "Paging response with a fragment nextLink",
Expand All @@ -51,6 +56,11 @@
"get": {
"operationId": "Paging_getPagesPartialUrlOperation",
"description": "A paging operation that combines custom url, paging and partial URL with next operation",
"x-ms-examples": {
"Paging_getPagesPartialUrlOperation": {
"$ref": "./examples/Paging_getPagesPartialUrlOperation.json"
}
},
"responses": {
"200": {
"description": "Paging response with a fragment nextLink",
Expand Down
5 changes: 5 additions & 0 deletions swagger/custom-baseUrl.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@
"get": {
"operationId": "paths_getEmpty",
"description": "Get a 200 to test a valid base uri",
"x-ms-examples": {
"paths_getEmpty": {
"$ref": "./examples/paths_getEmpty.json"
}
},
"tags": [
"Path Operations"
],
Expand Down
20 changes: 20 additions & 0 deletions swagger/examples/Paging_getPagesPartialUrl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"parameters": {
"accountName": "testaccount"
},
"responses": {
"200": {
"body": {
"values":[
{
"properties":{
"id":1,
"name":"Product"
}
}
],
"nextLink":"/paging/customurl/partialnextlink/page/2"
}
}
}
}
20 changes: 20 additions & 0 deletions swagger/examples/Paging_getPagesPartialUrlOperation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"parameters": {
"accountName": "testaccount"
},
"responses": {
"200": {
"body": {
"values":[
{
"properties":{
"id":1,
"name":"Product"
}
}
],
"nextLink":"partialnextlinkop/page/2"
}
}
}
}
8 changes: 8 additions & 0 deletions swagger/examples/bool_getFalse.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"parameters": {},
"responses": {
"200": {
"body": false
}
}
}
6 changes: 6 additions & 0 deletions swagger/examples/bool_getNull.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parameters": {},
"responses": {
"200": {}
}
}
8 changes: 8 additions & 0 deletions swagger/examples/bool_putFalse.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"parameters": {
"boolBody": false
},
"responses": {
"200": {}
}
}
8 changes: 8 additions & 0 deletions swagger/examples/byte_getEmpty.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"parameters": {},
"responses": {
"200": {
"body": ""
}
}
}
8 changes: 8 additions & 0 deletions swagger/examples/byte_getInvalid.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"parameters": {},
"responses": {
"200": {
"body": "::::SWAGGER::::"
}
}
}
8 changes: 8 additions & 0 deletions swagger/examples/byte_getNonAscii.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"parameters": {},
"responses": {
"200": {
"body": "//79/Pv6+fj39g=="
}
}
}
6 changes: 6 additions & 0 deletions swagger/examples/byte_getNull.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parameters": {},
"responses": {
"200": {}
}
}
8 changes: 8 additions & 0 deletions swagger/examples/byte_putNonAscii.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"parameters": {
"byteBody": "//79/Pv6+fj39g=="
},
"responses": {
"200": {}
}
}
10 changes: 10 additions & 0 deletions swagger/examples/paths_getEmpty.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"parameters": {
"accountName": "testaccount"
},
"responses": {
"200": {
"body": ""
}
}
}