|
5 | 5 | version: 0.0.1 |
6 | 6 | actions: |
7 | 7 | # Add x-model and/or abbreviate schemas that should point to other references |
8 | | - # - target: "$.components['schemas']['_types.analysis:CharFilter'].oneOf" |
9 | | - # description: Remove existing oneOf definition for CharFilter |
10 | | - # remove: true |
| 8 | + - target: "$.components['schemas']['_types.analysis:CharFilter'].oneOf" |
| 9 | + description: Remove existing oneOf definition for CharFilter |
| 10 | + remove: true |
11 | 11 | - target: "$.components['schemas']['_types.analysis:CharFilter']" |
12 | 12 | description: Simplify CharFilter definition |
13 | 13 | update: |
14 | 14 | x-model: true |
15 | | - # oneOf: |
16 | | - # - type: array |
17 | | - # - type: string |
18 | 15 | description: > |
19 | 16 | Character filters that are used to preprocess characters before they are passed to the tokenizer. |
20 | 17 | externalDocs: |
21 | 18 | url: https://www.elastic.co/guide/en/elasticsearch/reference/master/analysis-charfilters.html |
22 | 19 | description: Character filters reference |
23 | | - # - target: "$.components['schemas']['_types.analysis:Tokenizer'].oneOf" |
24 | | - # description: Remove existing oneOf definition for tokenizer |
25 | | - # remove: true |
| 20 | + - target: "$.components['schemas']['_types.analysis:Tokenizer'].oneOf" |
| 21 | + description: Remove existing oneOf definition for tokenizer |
| 22 | + remove: true |
26 | 23 | - target: "$.components['schemas']['_types.analysis:Tokenizer']" |
27 | 24 | description: Simplify tokenizer definition |
28 | 25 | update: |
29 | 26 | x-model: true |
30 | | - # oneOf: |
31 | | - # - type: array |
32 | | - # - type: string |
33 | 27 | description: > |
34 | 28 | A tokenizer to use to convert text into tokens. |
35 | 29 | externalDocs: |
36 | 30 | url: https://www.elastic.co/guide/en/elasticsearch/reference/master/analysis-tokenizers.html |
37 | 31 | description: Tokenizer reference |
38 | | - # - target: "$.components['schemas']['_types.analysis:TokenFilter'].oneOf" |
39 | | - # description: Remove existing oneOf definition for tokenfilter |
40 | | - # remove: true |
| 32 | + - target: "$.components['schemas']['_types.analysis:TokenFilter'].oneOf" |
| 33 | + description: Remove existing oneOf definition for tokenfilter |
| 34 | + remove: true |
41 | 35 | - target: "$.components['schemas']['_types.analysis:TokenFilter']" |
42 | 36 | description: Simplify tokenfilter definition |
43 | 37 | update: |
44 | 38 | x-model: true |
45 | | - # oneOf: |
46 | | - # - type: array |
47 | | - # - type: string |
48 | 39 | description: > |
49 | 40 | Token filters that are applied after the tokenizer. |
50 | 41 | externalDocs: |
|
0 commit comments