mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-26 04:05:40 +01:00
fix: Location Header in swagger api
* Add the Location Header to POST responses that use the common response Without the header, you cannot know which object you just created. Signed-off-by: Tim Hobbs <timothy.hobbs@ic-consult.com>
This commit is contained in:
parent
49c80f954c
commit
c7e547e3d2
@ -3679,6 +3679,10 @@ responses:
|
||||
description: 'Success'
|
||||
Created:
|
||||
description: 'Created'
|
||||
headers:
|
||||
Location:
|
||||
type: string
|
||||
description: The URL of the created resource
|
||||
BadRequest:
|
||||
description: 'Bad Request'
|
||||
Unauthorized:
|
||||
|
Loading…
Reference in New Issue
Block a user