Aleksandr created IGNITE-23699:
----------------------------------
Summary: 409 error code should be documented in openapi.yml
Key: IGNITE-23699
URL: https://issues.apache.org/jira/browse/IGNITE-23699
Project: Ignite
Issue Type: Task
Components: rest
Reporter: Aleksandr
curl 'http://localhost:10300/management/v1/cluster/state'
{"title":"Cluster is not
initialized","status":409,"code":null,"type":null,"detail":"Cluster is not
initialized. Call /management/v1/cluster/init in order to initialize
cluster.","node":null,"traceId":null,"i
cluster/state returns 409 error code that is not documented in openapi.spec. It
looks like 404 should be replaced by 409 in the documentation.
all endpoints should be checked for the same typo.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)