In the future, we could use our OpenAPI file to build our API Reference in the documentation and, for example, display a selector or a list of all possible error codes synchronous by method on an API resource.
It could also be helpful for clients' code being generated by the OpenAPI.
Now that https://github.com/meilisearch/specifications/pull/212 brings specific error codes, we should describe them fully in OpenAPI.
In the future, we could use our OpenAPI file to build our API Reference in the documentation and, for example, display a selector or a list of all possible error codes synchronous by method on an API resource.
It could also be helpful for clients' code being generated by the OpenAPI.