mirror of
https://github.com/LukeHagar/redocly-cli.git
synced 2025-12-06 04:21:09 +00:00
This commit is contained in:
@@ -493,10 +493,9 @@ rules:
|
|||||||
notPattern: /^The/
|
notPattern: /^The/
|
||||||
```
|
```
|
||||||
|
|
||||||
Take care using `notPattern` with multiline Markdown values such as
|
Take care using `notPattern` with multiline Markdown values such as `description` fields.
|
||||||
`description` fields. These may end with a newline rather than the character
|
These may end with a newline or a space rather than the character you expect.
|
||||||
you expect. Use the trimmed notations (`|-` or `>-`) or take account of this in
|
Use the [double-quoted style](https://yaml.org/spec/1.2.2/#731-double-quoted-style) or take account of this in your pattern.
|
||||||
your pattern.
|
|
||||||
|
|
||||||
### `pattern` example
|
### `pattern` example
|
||||||
|
|
||||||
@@ -512,9 +511,9 @@ rules:
|
|||||||
pattern: /test/
|
pattern: /test/
|
||||||
```
|
```
|
||||||
|
|
||||||
Take care using `pattern` with multiline Markdown values such as `description`
|
Take care using `pattern` with multiline Markdown values such as `description` fields.
|
||||||
fields. These may end with a newline rather than the character you expect. Use
|
These may end with a newline or a space rather than the character you expect.
|
||||||
the trimmed notations (`|-` or `>-`) or take account of this in your pattern.
|
Use the [double-quoted style](https://yaml.org/spec/1.2.2/#731-double-quoted-style) or take account of this in your pattern.
|
||||||
|
|
||||||
### `ref` example
|
### `ref` example
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user