Skip to content

Conversation

@joatkh
Copy link

@joatkh joatkh commented Oct 29, 2024

What/Why/How?

Remove-unused-components was not handle circular dependencies as describe in the issue. This was leading to left over schemas within the specification.

This PR is to handle both self referenced schemas as well as circular schemas

Reference

Testing

npm run unit:watch -- packages/core/src/decorators/oas3

Screenshots (optional)

Check yourself

  • Code changed? - Tested with redoc/reference-docs/workflows (internal)
  • All new/updated code is covered with tests
  • New package installed? - Tested in different environments (browser/node)

Security

  • Security impact of change has been considered
  • Code follows company security practices and guidelines

@joatkh joatkh requested review from a team as code owners October 29, 2024 10:28
@changeset-bot
Copy link

changeset-bot bot commented Oct 29, 2024

🦋 Changeset detected

Latest commit: ae089b2

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@redocly/openapi-core Major
@redocly/cli Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@joatkh joatkh closed this Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant