You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -96,8 +96,8 @@ redocly lint openapi.yaml
96
96
```
97
97
98
98
**Configure the rules** as you wish.
99
-
Other API Linters use complicated identifiers like JSONPath, but Redocly makes life easy with simple expressions that understand the OpenAPI structure.
100
-
You can either use the [built-in rules](https://redocly.com/docs/cli/rules) to mix-and-match your ideal API guidelines, or break out the tools to build your own.
99
+
Other API Linters use complicated identifiers like JSONPath, but Redocly makes life easy with simple expressions that understand the API specification structure.
100
+
You can either use the [built-in rules](https://redocly.com/docs/cli/rules) to mix-and-match your ideal API guidelines, or break out the tools to [build your own](https://redocly.com/docs/cli/rules#rule-ideas).
101
101
102
102
**Format the output** in whatever way you need.
103
103
The `stylish` output is as good as it sounds, but if you need JSON, Markdown, Checkstyle and other outputs to integrate with other tools, the `lint` command can output those too.
Copy file name to clipboardExpand all lines: docs/@v2/commands/join.md
+11-5Lines changed: 11 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -108,7 +108,8 @@ x-tagGroups:
108
108
Use the [`--without-x-tag-groups`](#avoid-tag-duplication) option to skip the creation and population of `x-tagGroups` in the output file.
109
109
110
110
{% admonition type="info" %}
111
-
If some operations in an input file don't have a tag assigned to them, the `join` command automatically adds the `other` tag to those operations in the output file. The `other` tag is also included in the `x-tagGroups` object.
111
+
If some operations in an input file don't have a tag assigned to them, the `join` command automatically adds the `other` tag to those operations in the output file.
112
+
The `other` tag is also included in the `x-tagGroups` object.
112
113
113
114
If any of the input files contain the `x-tagGroups` object, the content of this object is ignored by the `join` command and not included in the output file.
114
115
@@ -117,12 +118,16 @@ If you need to adjust the `info.title` field, apply the [info-override decorator
117
118
118
119
{% /admonition %}
119
120
120
-
The `servers` object combines the content from all input files, starting with the content from the first file.
121
+
The root `servers` object combines only the common content from all input files.
122
+
If the servers are different for each input file, the `join` command puts the content inside the `servers` object under the corresponding `paths`.
123
+
121
124
Commented lines are not included in the output file.
122
125
123
-
Path names and component names must be unique in all input files, but their content doesn't have to be unique for the `join` command to produce the output file. For each path item object, only the operation ID must be unique.
126
+
Path names and component names must be unique in all input files, but their content doesn't have to be unique for the `join` command to produce the output file.
127
+
For each path item object, only the operation ID must be unique.
124
128
125
-
If the `join` command detects any conflicting content while trying to combine the input files, it displays informative messages about the conflicts and exits without creating an output file. To prevent this, use optional parameters to add prefixes to tags and components.
129
+
If the `join` command detects any conflicting content while trying to combine the input files, it displays informative messages about the conflicts and exits without creating an output file.
130
+
To prevent this, use optional parameters to add prefixes to tags and components.
126
131
127
132
<pre>
128
133
Conflict on tags => all : tickets in files: museum.yaml,exhibition.yaml
@@ -190,7 +195,8 @@ The following is the example output:
190
195
191
196
### Avoid tag duplication
192
197
193
-
If you have the same tags in multiple API descriptions, you can avoid tag duplication by using the `without-x-tag-groups` option. In this case, the `x-tagGroups` property is not created in the joined file.
198
+
If you have the same tags in multiple API descriptions, you can avoid tag duplication by using the `without-x-tag-groups` option.
199
+
In this case, the `x-tagGroups` property is not created in the joined file.
194
200
195
201
This command sets the `--without-x-tag-groups` option:
0 commit comments