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

feat: add sampleCollapseLevel option #937

Merged
merged 5 commits into from
Jul 29, 2019

Conversation

alex-karo
Copy link
Contributor

This feature resolves #479
I added "sampleCollapseLevel" option, that set level of collapsing in response sample
Possible positive integer values, or "all"

Copy link
Member

@RomanHotsiy RomanHotsiy left a comment

Choose a reason for hiding this comment

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

Looks good 👍.

Left a few comments though. Resolve, please.

Thanks!

README.md Outdated Show resolved Hide resolved
src/utils/jsonToHtml.ts Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
Copy link
Member

@RomanHotsiy RomanHotsiy left a comment

Choose a reason for hiding this comment

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

Also, rename all the maxCollapseLevel to maxExpandLevel and it will be ready to merge 👍

src/services/RedocNormalizedOptions.ts Outdated Show resolved Hide resolved
src/services/RedocNormalizedOptions.ts Outdated Show resolved Hide resolved
@RomanHotsiy RomanHotsiy merged commit d3f1c16 into Redocly:master Jul 29, 2019
@RomanHotsiy
Copy link
Member

Thanks! 👍

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.

Auto expand the examples response
2 participants