Skip to content
New issue

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

Add examples to both OpenAPI documents via overlays #2881

Closed
wants to merge 1 commit into from
Closed

Add examples to both OpenAPI documents via overlays #2881

wants to merge 1 commit into from

Conversation

lcawl
Copy link
Contributor

@lcawl lcawl commented Sep 11, 2024

Relates to #2144, #2482

Until we can automatically include examples in the OpenAPI documents, they are being applied by using https://github.com/elastic/elasticsearch-specification/tree/main/docs/overlays

In preparation for publishing https://github.com/elastic/elasticsearch-specification/blob/main/output/openapi/elasticsearch-openapi.json, this PR splits the existing overlay into (1) an overlay that is specific to the serverless openAPI document, (2) an overlay that is specific to the non-serverless openAPI document, and (3) an overlay that contains any common updates such as examples that are applicable to both.

The make overlay-docs command is updated to apply all those overlays. I've also created a make lint-docs-errs command to only return linting errors rather than all the warnings and information messages.

@lcawl lcawl closed this Sep 11, 2024
@lcawl
Copy link
Contributor Author

lcawl commented Sep 11, 2024

Sigh...
Replaced by #2882

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant