Support parameters provided at the 'path' level

This commit is contained in:
richie
2016-10-13 18:17:19 -07:00
parent de09df59e1
commit 4d675056c1
7 changed files with 57 additions and 21 deletions

View File

@@ -68,6 +68,14 @@
}
},
"/blogs/{id}": {
"parameters": [
{
"name": "id",
"in": "path",
"type": "string",
"required": true
}
],
"get": {
"summary": "Retrieves a blog",
"tags": [
@@ -78,14 +86,6 @@
"produces": [
"application/json"
],
"parameters": [
{
"name": "id",
"in": "path",
"type": "string",
"required": true
}
],
"responses": {
"200": {
"description": "blog found",