Skip to content

Commit

Permalink
chore: v1.0.0-beta.107
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorKarpiuk committed Aug 15, 2022
1 parent 83eec8c commit d7f2ff6
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 30 deletions.
6 changes: 6 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ tocMaxDepth: 2
# Redocly CLI changelog


## 1.0.0-beta.107 (2022-08-15)

### Changes

- Add `allowAdditionalProperties` to built-in rules and mark `disallowAdditionalProperties` as deprecated

## 1.0.0-beta.106 (2022-08-09)

### Fixes
Expand Down
12 changes: 6 additions & 6 deletions docs/rules/no-invalid-media-type-examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ Trust us.
It's much nicer to get this alert from Redocly before you ship than from your biggest customer three months later.
## Configuration

|Option|Type|Description|
|---|---|---|
|severity|string|Possible values: `off`, `warn`, `error`. Default `warn`. |
|disallowAdditionalProperties|boolean|Determines if additional properties are allowed in examples. Default `true`. |
|Option|Type| Description |
|---|---|-------------------------------------------------------------------------------|
|severity|string| Possible values: `off`, `warn`, `error`. Default `warn`. |
|allowAdditionalProperties|boolean| Determines if additional properties are allowed in examples. Default `false`. |

An example configuration:

Expand All @@ -50,7 +50,7 @@ styleguide:
rules:
no-invalid-media-type-examples:
severity: error
disallowAdditionalProperties: true
allowAdditionalProperties: false
```
## Examples
Expand All @@ -62,7 +62,7 @@ styleguide:
rules:
no-invalid-media-type-examples:
severity: error
disallowAdditionalProperties: true
allowAdditionalProperties: false
```
Example of an **incorrect** media type example:
Expand Down
12 changes: 6 additions & 6 deletions docs/rules/no-invalid-parameter-examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,17 @@ Solve it before you ship it.

## Configuration

|Option|Type|Description|
|---|---|---|
|severity|string|Possible values: `off`, `warn`, `error`. Default `warn`. |
|disallowAdditionalProperties|boolean|Determines if additional properties are allowed in examples. Default `true`. |
|Option|Type| Description |
|---|---|-------------------------------------------------------------------------------|
|severity|string| Possible values: `off`, `warn`, `error`. Default `warn`. |
|allowAdditionalProperties|boolean| Determines if additional properties are allowed in examples. Default `false`. |

```yaml
styleguide:
rules:
no-invalid-parameter-examples:
severity: error
disallowAdditionalProperties: true
allowAdditionalProperties: false
```
## Examples
Expand All @@ -58,7 +58,7 @@ styleguide:
rules:
no-invalid-parameter-examples:
severity: error
disallowAdditionalProperties: true
allowAdditionalProperties: false
```
Example of **incorrect** parameter example:
Expand Down
12 changes: 6 additions & 6 deletions docs/rules/no-invalid-schema-examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ Solve it before you ship it.

## Configuration

|Option|Type|Description|
|---|---|---|
|severity|string|Possible values: `off`, `warn`, `error`. Default `warn`. |
|disallowAdditionalProperties|boolean|Determines if additional properties are allowed in examples. Default `true`. |
|Option|Type| Description |
|---|---|-------------------------------------------------------------------------------|
|severity|string| Possible values: `off`, `warn`, `error`. Default `warn`. |
|allowAdditionalProperties|boolean| Determines if additional properties are allowed in examples. Default `false`. |

An example configuration:

Expand All @@ -49,7 +49,7 @@ styleguide:
rules:
no-invalid-schema-examples:
severity: error
disallowAdditionalProperties: true
allowAdditionalProperties: false
```
## Examples
Expand All @@ -61,7 +61,7 @@ styleguide:
rules:
no-invalid-schema-examples:
severity: error
disallowAdditionalProperties: true
allowAdditionalProperties: false
```
Example of **incorrect** schema example:
Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@redocly/cli",
"version": "1.0.0-beta.106",
"version": "1.0.0-beta.107",
"description": "",
"private": true,
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@redocly/cli",
"version": "1.0.0-beta.106",
"version": "1.0.0-beta.107",
"description": "",
"license": "MIT",
"bin": {
Expand Down Expand Up @@ -35,7 +35,7 @@
"Andriy Leliv <andriy@redoc.ly> (https://redoc.ly/)"
],
"dependencies": {
"@redocly/openapi-core": "1.0.0-beta.106",
"@redocly/openapi-core": "1.0.0-beta.107",
"assert-node-version": "^1.0.3",
"chokidar": "^3.5.1",
"colorette": "^1.2.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/core/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@redocly/openapi-core",
"version": "1.0.0-beta.106",
"version": "1.0.0-beta.107",
"description": "",
"main": "lib/index.js",
"engines": {
Expand Down

0 comments on commit d7f2ff6

Please sign in to comment.