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

Add Redoc feature and theming options for API documentation #3199

Merged

Conversation

alexander-klimov
Copy link
Contributor

@alexander-klimov alexander-klimov commented Sep 21, 2023

Added a way of providing Redoc Functionality and Theming options.
They are strings with no validation.

Examples:

  • redocOptions
    • hide-download-button=true schema-expansion-level=2
  • redocThemeOptionsJson
    • {"colors":{"primary":{"main":"#1097fe"}},"sidebar":{"backgroundColor":"black","textColor":"white"},"typography":{"fontFamily": "arial, sans-serif","fontSize": "1em"}}

@alexander-klimov alexander-klimov force-pushed the add-redoc-feat-and-theme-options branch from 233dd6b to df675be Compare September 21, 2023 16:09
@alexander-klimov alexander-klimov force-pushed the add-redoc-feat-and-theme-options branch 2 times, most recently from 04572ac to 5bc994a Compare September 22, 2023 10:47
@alexander-klimov alexander-klimov force-pushed the add-redoc-feat-and-theme-options branch from 5bc994a to 5affe52 Compare September 25, 2023 08:01
@adamw adamw merged commit 3e3c98d into softwaremill:master Sep 25, 2023
@adamw
Copy link
Member

adamw commented Sep 25, 2023

Thanks :)

@alexander-klimov
Copy link
Contributor Author

Great.
Can't wait for the new release (:

@alexander-klimov alexander-klimov deleted the add-redoc-feat-and-theme-options branch September 25, 2023 13:13
@adamw
Copy link
Member

adamw commented Sep 25, 2023

It's on the way :)

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