Skip to content

Commit 6acfdfc

Browse files
committed
updates links correctly to redocly
1 parent 67327a2 commit 6acfdfc

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1009,18 +1009,18 @@ I am making use of https://www.npmjs.com/package/@redocly/openapi-core, which I
10091009

10101010
I have configured the validator to use these Rules:
10111011

1012-
- [spec](https://redocly.com/docs/cli/rules/spec/)
1013-
- [path-parameters-defined](https://redocly.com/docs/cli/rules/path-parameters-defined/)
1014-
- [operation-2xx-response](https://redocly.com/docs/cli/rules/operation-2xx-response/)
1015-
- [operation-4xx-response](https://redocly.com/docs/cli/rules/operation-4xx-response/)
1016-
- [operation-operationId-unique](https://redocly.com/docs/cli/rules/operation-operationid-unique/)
1017-
- [path-declaration-must-exist](https://redocly.com/docs/cli/rules/path-declaration-must-exist/)
1012+
- [struct](https://redocly.com/docs/cli/rules/oas/struct)
1013+
- [path-parameters-defined](https://redocly.com/docs/cli/rules/oas/path-parameters-defined)
1014+
- [operation-2xx-response](https://redocly.com/docs/cli/rules/oas/operation-2xx-response)
1015+
- [operation-4xx-response](https://redocly.com/docs/cli/rules/oas/operation-4xx-response)
1016+
- [operation-operationId-unique](https://redocly.com/docs/cli/rules/oas/operation-operationId-unique)
1017+
- [path-declaration-must-exist](https://redocly.com/docs/cli/rules/oas/path-declaration-must-exist)
10181018

10191019
However, you can configure your own rules from the [ruleset available on the Redocly site](https://redocly.com/docs/cli/rules/built-in-rules/). To do this, you will need to create a `redocly.json` file within an `options` folder. The file should look like:
10201020

10211021
```json
10221022
{
1023-
"spec": "error",
1023+
"struct": "error",
10241024
"path-parameters-defined": "error",
10251025
"operation-2xx-response": "error",
10261026
"operation-4xx-response": "error",

0 commit comments

Comments
 (0)