mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Only use 200 follows what others do. Less switching. Remove defense
This commit is contained in:
@@ -177,7 +177,7 @@ paths:
|
||||
schema:
|
||||
$ref: '#/definitions/RouteWrapper'
|
||||
responses:
|
||||
201:
|
||||
200:
|
||||
description: Route created
|
||||
schema:
|
||||
$ref: '#/definitions/RouteWrapper'
|
||||
@@ -244,11 +244,7 @@ paths:
|
||||
$ref: '#/definitions/RouteWrapper'
|
||||
responses:
|
||||
200:
|
||||
description: Route updated
|
||||
schema:
|
||||
$ref: '#/definitions/RouteWrapper'
|
||||
201:
|
||||
description: Route created
|
||||
description: Route created or updated
|
||||
schema:
|
||||
$ref: '#/definitions/RouteWrapper'
|
||||
400:
|
||||
|
||||
Reference in New Issue
Block a user