Following a list of known issues with the compiler and the specification. Here you can find all the currently open bugs. Do you have a solution in mind? PR are welcome!
Some APIs have two or more fields that are mutually required but mutually exclusive,
meaning that at least one, and no more than one, should be there.
An example of this situation happens with the transform.put_transform
API.
We don't have a way to represent this yet, the current solution is to mark all of this fields as optional and document how the API should be used.
Some APIs will provide a different response structure based on which parameters have
been configured in the request. An example is every API that takes the wait_for_completion
parameter cna have this situation. If you configure it to false
, instead of getting
the usual structure, you will only get a task
back.
We don't have a way to represent this yet, the current solution is to mark every field of the response as optional.
There is nothing that can be done here, it's a security limitation imposed by GitHub.
Either perform a cherry-pick once merged or create a branch directly in this repository.
Nit: if you do the latter, name the branch like this: {username}/{feature_name}
DynamicMapping enum if not populated as a boolean in Elasticsearch breaks Kibana which expects a true json boolean.
Handle the enum true
and false
to be serialized as booleans and not string. These enums have an es_quirk
annotation.