You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PUT /services/{serviceId} returns 409 both for a duplicate service (sometimes without naming it, if the existing service is hidden) and for a non-admin's update of a pending service (#238). Clients can only tell them apart by the detail text (elixir-cloud-aai/cloud-registry-ui#46).
What?
Give each 409 problem response a stable discriminator, e.g. the RFC 9457 type URI or a code member (duplicate-service, pending-service, service-type-in-use, …), documented in the API spec.
Keep detail and the existing members unchanged.
Acceptance criteria
Every 409 the registry returns carries a documented discriminator, covered by tests.
Activity
docs: add conflict codes to 0.5.0