Commit Graph

11 Commits

Author SHA1 Message Date
kyori19
67dd4f6a8d feat(swagger-ui-react): add support for persistAuthorization prop (#7842)
Closes #7389
2022-03-01 10:54:03 +01:00
Vladimir Gorej
a81341d25f fix(swagger-ui-react): load spec on initial render (#7856)
Refs #7578
2022-02-21 20:12:36 +01:00
Vladimir Gorej
6b1070814c fix(swagger-ui-react): fix prop type for defaultModelRendering
Refs #7783
2022-01-24 16:33:45 +01:00
Mahtis Michel
85597b9a94 feat(swagger-ui-react): Enable displayRequestDuration prop (#7522)
* feat(react): allow displayRequestDuration via react

* docs(react): added displayRequestDuration prop

* Update flavors/swagger-ui-react/README.md

Co-authored-by: Vladimir Gorej <vladimir.gorej@gmail.com>
Co-authored-by: Tim Lai <timothy.lai@gmail.com>
2022-01-18 10:24:34 -08:00
Alex Rejto
6273fd1dd8 feat: add support of defaultModelRendering prop to swagger-ui-react
Co-authored-by: Tim Lai <timothy.lai@gmail.com>
2022-01-12 14:31:55 -08:00
Vladimir Gorej
01a3e55960 fix(security): disable reading config params from URL search params (#7697)
Reading configuration parameters from URL search params 
is by default no longer enabled. To re-enable it, set queryConfigEnabled
configuration parameter to true.

Functionally, this is a breaking change, but given we're just providing
a security vulnerability patch we're considering this a PATCH version bump
only.

Refs #4872
Refs https://github.com/swagger-api/swagger-ui/security/advisories/GHSA-qrmm-w75w-3wpx
2021-12-09 17:28:17 +01:00
Andriy Semenyuk
b71446caa0 feat(swagger-ui-react): add support of filter prop (#7547)
Co-authored-by: Mahtis Michel <mathis.michel@outlook.de>
Co-authored-by: Vladimir Gorej <vladimir.gorej@gmail.com>

Closes #7546
2021-11-08 13:08:15 +01:00
Mahtis Michel
3fea224a7d feat(swagger-ui-react): add request snippets configuration (#7536)
Closes #7523
2021-11-08 12:13:32 +01:00
Vladimir Gorej
4a78313ebf fix(swagger-ui-react): add showExtension propType
Refs #5892
2021-11-08 10:07:21 +01:00
glebbash
d7ec726886 feat(swagger-ui-react): add showExtensions option (#7563)
Closes #5892
2021-11-08 09:37:28 +01:00
Kyle Hoskins
265bdc07b7 feat: add tryItOutEnabled configuration (#6865)
* feat: add tryItOutEnabled configuration

allow users to set tryItOutEnabled: true to display
the "Try it out" section by default

tryItOutEnabled to take === "true" for the
query string value or === true if someone
implements query string type parsing in the query
2021-01-26 09:00:38 -08:00