summaryrefslogtreecommitdiffstats
path: root/templates/swagger/v1_json.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/swagger/v1_json.tmpl')
-rw-r--r--templates/swagger/v1_json.tmpl6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl
index 35c700a765..ad2d2cca95 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -5317,6 +5317,9 @@
"responses": {
"201": {
"$ref": "#/responses/Label"
+ },
+ "422": {
+ "$ref": "#/responses/validationError"
}
}
}
@@ -5443,6 +5446,9 @@
"responses": {
"200": {
"$ref": "#/responses/Label"
+ },
+ "422": {
+ "$ref": "#/responses/validationError"
}
}
}