Skip to content

Commit

Permalink
add endpoint to webpubsub swaggers (Azure#16001)
Browse files Browse the repository at this point in the history
* add endpoint to webpubsub swaggers

* have endpoint not include connection string in swagger

* Update webpubsub.json

* Update webpubsub.json

Co-authored-by: Laurent Mazuel <lmazuel@microsoft.com>
  • Loading branch information
iscai-msft and lmazuel authored Sep 15, 2021
1 parent e23a590 commit eb774d5
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@
"title": "Azure Web PubSub Service REST API",
"version": "2021-05-01-preview"
},
"x-ms-parameterized-host": {
"hostTemplate": "{Endpoint}",
"useSchemePrefix": false,
"parameters": [
{
"$ref": "#/parameters/Endpoint"
}
]
},
"paths": {
"/api/health": {
"head": {
Expand Down Expand Up @@ -907,5 +916,16 @@
}
}
}
},
"parameters": {
"Endpoint": {
"name": "Endpoint",
"description": "HTTP or HTTPS endpoint for the Web PubSub service instance.",
"x-ms-parameter-location": "client",
"required": true,
"type": "string",
"in": "path",
"x-ms-skip-url-encoding": true
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@
"title": "Azure Web PubSub Service REST API",
"version": "2021-08-01-preview"
},
"x-ms-parameterized-host": {
"hostTemplate": "{Endpoint}",
"useSchemePrefix": false,
"parameters": [
{
"$ref": "#/parameters/Endpoint"
}
]
},
"paths": {
"/api/health": {
"head": {
Expand Down Expand Up @@ -985,5 +994,16 @@
}
}
}
},
"parameters": {
"Endpoint": {
"name": "Endpoint",
"description": "HTTP or HTTPS endpoint for the Web PubSub service instance.",
"x-ms-parameter-location": "client",
"required": true,
"type": "string",
"in": "path",
"x-ms-skip-url-encoding": true
}
}
}

0 comments on commit eb774d5

Please sign in to comment.