File tree Expand file tree Collapse file tree 3 files changed +21
-3
lines changed Expand file tree Collapse file tree 3 files changed +21
-3
lines changed Original file line number Diff line number Diff line change 14
14
oas3-valid-schema-example : false
15
15
oas2-valid-media-example : false
16
16
# Operations
17
- operation-operationId : false
18
- operation-operationId-unique : false
19
- operation-operationId-valid-in-url : false
17
+ operation-operationId : warn
18
+ operation-operationId-unique : warn
19
+ operation-operationId-valid-in-url : warn
20
20
operation-tag-defined : warn
21
21
operation-tags : warn
22
22
# Responses
Original file line number Diff line number Diff line change @@ -59,6 +59,9 @@ dump-routes: ## Create a new schema with all generics expanded
59
59
60
60
contrib : | generate license-check spec-format-fix transform-to-openapi filter-for-serverless # # Pre contribution target
61
61
62
+ overlay-docs : # # Apply overlays to OpenAPI documents
63
+ @npx bump overlay " output/openapi/elasticsearch-serverless-openapi.json" " docs/overlays/elasticsearch-serverless-openapi-overlays.yaml" > " output/openapi/elasticsearch-serverless-openapi.new.json"
64
+
62
65
lint-docs : # # Lint the OpenAPI documents
63
66
@npx @stoplight/spectral-cli lint output/openapi/* .json --ruleset .spectral.yaml
64
67
Original file line number Diff line number Diff line change
1
+ # overlays.yaml
2
+ overlay : 1.0.0
3
+ info :
4
+ title : Overlays for the Elasticsearch Serverless OpenAPI document
5
+ version : 0.0.1
6
+ actions :
7
+ - target : ' $.info'
8
+ description : Add a document description
9
+ update :
10
+ description : >
11
+ **Technical preview**
12
+ This functionality is in technical preview and may be changed or removed in a future release.
13
+ Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features.
14
+
15
+
You can’t perform that action at this time.
0 commit comments