style: change wording

This commit is contained in:
Stefan Strigler 2023-03-02 09:14:52 +01:00
parent 3f324f85bc
commit 76f97010bb
1 changed files with 3 additions and 3 deletions

View File

@ -400,7 +400,7 @@ schema("/bridges/:id/enable/:enable") ->
responses => responses =>
#{ #{
204 => <<"Success">>, 204 => <<"Success">>,
404 => error_schema('NOT_FOUND', "Bridge not found or operation invalid"), 404 => error_schema('NOT_FOUND', "Bridge not found or invalid operation"),
503 => error_schema('SERVICE_UNAVAILABLE', "Service unavailable") 503 => error_schema('SERVICE_UNAVAILABLE', "Service unavailable")
} }
} }
@ -418,7 +418,7 @@ schema("/bridges/:id/:operation") ->
], ],
responses => #{ responses => #{
204 => <<"Operation success">>, 204 => <<"Operation success">>,
404 => error_schema('NOT_FOUND', "Bridge not found or operation invalid"), 404 => error_schema('NOT_FOUND', "Bridge not found or invalid operation"),
501 => error_schema('NOT_IMPLEMENTED', "Not Implemented"), 501 => error_schema('NOT_IMPLEMENTED', "Not Implemented"),
503 => error_schema('SERVICE_UNAVAILABLE', "Service unavailable") 503 => error_schema('SERVICE_UNAVAILABLE', "Service unavailable")
} }
@ -438,7 +438,7 @@ schema("/nodes/:node/bridges/:id/:operation") ->
], ],
responses => #{ responses => #{
204 => <<"Operation success">>, 204 => <<"Operation success">>,
404 => error_schema('NOT_FOUND', "Bridge not found or operation invalid"), 404 => error_schema('NOT_FOUND', "Bridge not found or invalid operation"),
403 => error_schema('FORBIDDEN_REQUEST', "forbidden operation"), 403 => error_schema('FORBIDDEN_REQUEST', "forbidden operation"),
501 => error_schema('NOT_IMPLEMENTED', "Not Implemented"), 501 => error_schema('NOT_IMPLEMENTED', "Not Implemented"),
503 => error_schema('SERVICE_UNAVAILABLE', "Service unavailable") 503 => error_schema('SERVICE_UNAVAILABLE', "Service unavailable")