Skip to content

Commit 73090d2

Browse files
committed
Do not lif enums in default OpenAPI output
1 parent eadcf1c commit 73090d2

File tree

4 files changed

+594
-6821
lines changed

4 files changed

+594
-6821
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ transform-expand-generics: ## Create a new schema with all generics expanded
5252
@npm run transform-expand-generics --prefix compiler
5353

5454
transform-to-openapi: ## Generate the OpenAPI definition from the compiled schema
55-
@npm run transform-to-openapi -- --schema output/schema/schema.json --flavor stack --lift-enum-descriptions --output output/openapi/elasticsearch-openapi.json
56-
@npm run transform-to-openapi -- --schema output/schema/schema.json --flavor serverless --lift-enum-descriptions --output output/openapi/elasticsearch-serverless-openapi.json
55+
@npm run transform-to-openapi -- --schema output/schema/schema.json --flavor stack --output output/openapi/elasticsearch-openapi.json
56+
@npm run transform-to-openapi -- --schema output/schema/schema.json --flavor serverless --output output/openapi/elasticsearch-serverless-openapi.json
5757

5858
transform-to-openapi-for-docs: ## Generate the OpenAPI definition tailored for API docs generation
5959
@npm run transform-to-openapi -- --schema output/schema/schema.json --flavor stack --lift-enum-descriptions --merge-multipath-endpoints --output output/openapi/elasticsearch-openapi-docs.json
Binary file not shown.

0 commit comments

Comments
 (0)