Refactor request_factory & response_validator

This commit is contained in:
domaindrivendev
2017-07-13 16:00:39 -07:00
parent f7c29267fe
commit 97c2a39cfa
13 changed files with 454 additions and 434 deletions

View File

@@ -40,6 +40,9 @@
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"name": "blog",
@@ -58,6 +61,9 @@
"schema": {
"$ref": "#/definitions/errors_object"
}
},
"406": {
"description": "unsupported accept header"
}
}
},
@@ -87,6 +93,9 @@
"$ref": "#/definitions/blog"
}
}
},
"406": {
"description": "unsupported accept header"
}
}
}
@@ -137,6 +146,9 @@
},
"404": {
"description": "blog not found"
},
"406": {
"description": "unsupported accept header"
}
}
}