AbsaOSS / AbsaOSS/enceladus

Use 409 (Conflict) response for entity clashes

オープン
#738 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
feature Menas priority: medium
主要言語
Scala
スター
33
フォーク
16
PR マージ指標
30日以内にマージされた PR はありません

説明

## Background
Currently when an entity with a specific name already exists, if you try to create a new one with the same name you get a `400 (Bad Request)` response and a validation entity explaining the clash in the response body.

## Feature
We can be more specific in our response codes if we use `409 (Conflict)`.

## Proposed Solution
1. Change the response code to `409`
1. Keep the response body unchanged

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。