Skip to content

Commit b5e6a19

Browse files
authored
[OpenAPI] Add --branch for 8.18 docs (#4760)
1 parent 24b3dce commit b5e6a19

File tree

5 files changed

+204
-204
lines changed

5 files changed

+204
-204
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@ transform-expand-generics: ## Create a new schema with all generics expanded
5050
@npm run transform-expand-generics --prefix compiler
5151

5252
transform-to-openapi: ## Generate the OpenAPI definition from the compiled schema
53-
@npm run transform-to-openapi -- --schema output/schema/schema.json --flavor stack --output output/openapi/elasticsearch-openapi.json
53+
@npm run transform-to-openapi -- --schema output/schema/schema.json --flavor stack --output output/openapi/elasticsearch-openapi.json --branch 8.18
5454
@npm run transform-to-openapi -- --schema output/schema/schema.json --flavor serverless --output output/openapi/elasticsearch-serverless-openapi.json
5555

5656
transform-to-openapi-for-docs: ## Generate the OpenAPI definition tailored for API docs generation
5757
@make generate-language-examples
5858
@make generate
59-
@npm run transform-to-openapi -- --schema output/schema/schema.json --flavor stack --lift-enum-descriptions --merge-multipath-endpoints --multipath-redirects --include-language-examples --output output/openapi/elasticsearch-openapi-docs.json
59+
@npm run transform-to-openapi -- --schema output/schema/schema.json --flavor stack --lift-enum-descriptions --merge-multipath-endpoints --multipath-redirects --include-language-examples --output output/openapi/elasticsearch-openapi-docs.json --branch 8.18
6060

6161
filter-for-serverless: ## Generate the serverless version from the compiled schema
6262
@npm run --prefix compiler filter-by-availability -- --serverless --visibility=public --input ../output/schema/schema.json --output ../output/output/openapi/elasticsearch-serverless-openapi.json

0 commit comments

Comments
 (0)