IBM / openapi-validator

Configurable and extensible validator/linter for OpenAPI documents
Apache License 2.0
481 stars 88 forks source link

feat(ibm-no-superfluous-allof): add new rule and documentation #666

Closed padamstx closed 3 months ago

padamstx commented 3 months ago

PR summary

This commit adds the new "ibm-no-superfluous-allof" rule which warns about the use of a superfluous allOf, which is a schema that contains only a single-element allOf.

PR Checklist

General checklist

Please make sure that your PR fulfills the following requirements:

Checklist for adding a new validation rule:

padamstx commented 3 months ago

I've pushed some changes to address review comments. Please take another look.

ibm-devx-sdk commented 3 months ago

:tada: This PR is included in version 1.17.0 :tada:

The release is available on npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:

ibm-devx-sdk commented 3 months ago

:tada: This PR is included in version 1.18.0 :tada:

The release is available on npm package (@latest dist-tag)

Your semantic-release bot :package::rocket: