PutDraft: Ensure that ID from input matches the ID in the URL
When putting a draft, the draft ID is contained in the URL and this is
the ID that is used to identify the draft the should be updated. In
addition a draft ID can be provided with the input. This ID from the
input is ignored, but if it is provided we should make sure that it
matches the draft ID from the URL and fail with Bad Request if not.
Change-Id: I19ae901a09d94dc05202a37b2929163afc15fb4a
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
1 file changed