Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: unify redoc config #2647

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

fix: unify redoc config #2647

wants to merge 6 commits into from

Conversation

AlexVarchuk
Copy link
Collaborator

@AlexVarchuk AlexVarchuk commented Jan 15, 2025

What/Why/How?

Unify the Redoc CE configuration for future major releases.

Reference

#2646

Tests

Screenshots (optional)

Check yourself

  • Code is linted
  • Tested
  • All new/updated code is covered with tests

@AlexVarchuk AlexVarchuk changed the title fix: wip unify redoc config fix: unify redoc config Jan 15, 2025
@AlexVarchuk AlexVarchuk force-pushed the fix/unify-redoc-options branch from 8943a90 to 30db4df Compare January 15, 2025 15:18
@AlexVarchuk AlexVarchuk marked this pull request as ready for review January 21, 2025 11:29
@AlexVarchuk AlexVarchuk requested a review from a team as a code owner January 21, 2025 11:29
Comment on lines +23 to +26
const tags = [...(spec.tags || [])];
const hasAutogenerated = [...(spec.tags || [])].find(
tag => tag?.name === schemaDefinitionsTagName,
);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const tags = [...(spec.tags || [])];
const hasAutogenerated = [...(spec.tags || [])].find(
tag => tag?.name === schemaDefinitionsTagName,
);
const tags = [...(spec.tags || [])];
const hasAutogenerated = tags.find(
tag => tag?.name === schemaDefinitionsTagName,
);

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.

2 participants