We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There are common query parameters that are applicable to all the CAT APIs, for example the verbose, format, sort, help etc covered in https://www.elastic.co/guide/en/elasticsearch/reference/master/cat.html#common-parameters
verbose
format
sort
help
I can see that they're defined in the specification in
elasticsearch-specification/specification/_spec_utils/behaviors.ts
Line 90 in 2397e31
For example, in https://github.com/elastic/elasticsearch-specification/blob/main/output/openapi/elasticsearch-openapi.json the "cat aliases" operation shows only the parameters that are defined explicitly in https://github.com/elastic/elasticsearch-specification/blob/main/specification/cat/aliases/CatAliasesRequest.ts
"operationId": "cat-aliases", "parameters": [ { "$ref": "#/components/parameters/cat.aliases#expand_wildcards" }, { "$ref": "#/components/parameters/cat.aliases#master_timeout" } ],
Do we need to add them to all the request definitions? Or is there a simple fix to get the CommonCatQueryParameters to resolve?
CommonCatQueryParameters
The text was updated successfully, but these errors were encountered:
No branches or pull requests
There are common query parameters that are applicable to all the CAT APIs, for example the
verbose
,format
,sort
,help
etc covered in https://www.elastic.co/guide/en/elasticsearch/reference/master/cat.html#common-parametersI can see that they're defined in the specification in
elasticsearch-specification/specification/_spec_utils/behaviors.ts
Line 90 in 2397e31
However, they don't show up in the OpenAPI output.
For example, in https://github.com/elastic/elasticsearch-specification/blob/main/output/openapi/elasticsearch-openapi.json the "cat aliases" operation shows only the parameters that are defined explicitly in https://github.com/elastic/elasticsearch-specification/blob/main/specification/cat/aliases/CatAliasesRequest.ts
Do we need to add them to all the request definitions? Or is there a simple fix to get the
CommonCatQueryParameters
to resolve?The text was updated successfully, but these errors were encountered: