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:
Tim Hobbs 2020-09-12 14:33:16 +02:00
parent 49c80f954c
commit c7e547e3d2
No known key found for this signature in database
GPG Key ID: A7208B9C8B55CCB8

View File

@ -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: