Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 29 additions & 1 deletion docs/@v2/guides/migrate-to-v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ You may refer to [this Cookbook recipe](https://github.com/Redocly/redocly-cli-c
Removed rule `info-license-url`.
Use `info-license-strict` which better complies with the new [OpenAPI 3.1 specification](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#license-object).

### Assertion changes
### Configurable rules changes

The `undefined` assertion has been removed:

Expand Down Expand Up @@ -135,6 +135,34 @@ extends:

The `no-duplicated-tag-names` rule checks for duplicate tag names in your API description.

### JSON schema format validation

Now Redocly CLI supports JSON schema formats:

```yaml
openapi: 3.1.0
paths:
/users/{id}:
get:
responses:
200:
content:
application/json:
schema:
type: object
properties:
email:
type: string
format: email
examples:
Correct:
value:
email: correct@email.com
Incorrect:
value:
email: wrong-email # Will fail validation
```

## Migration checklist

1. **Update Node.js** to a supported version (20.19.0+, 22.12.0+, or 23+).
Expand Down
Loading