Commit Graph

22 Commits

Author SHA1 Message Date
Vladimir Gorej
d018e8a25a build(swagger-ui-react): align version of React with SwaggerUI
Refs #7341
2021-11-03 09:49:50 +01:00
Vladimir Gorej
bd75178241 docs(LICENSE): apply Apache 2.0 License correctly (#7574)
Closes #6635
2021-11-02 23:44:28 +01:00
Tim Lai
e538e26314 fix(swagger-ui-react): src filename extension to transpile (#6876) 2021-01-28 11:23:51 -08: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
Vladimir Gorej
a6673d7c60 feat(swagger-ui-react): add support for layout prop (#6639)
layout prop represents the name of a component available
via the plugin system to use as the top-level
layout for Swagger UI.
2020-11-19 14:12:32 -08:00
Ranjith Varma
6b12f1507a feat(swagger-ui-react): add deeplinking as prop (#6424)
Co-authored-by: Ranjith Varma <ranjith.varma@hatio.in>
Co-authored-by: Tim Lai <timothy.lai@gmail.com>
2020-09-22 10:24:53 -07:00
Nikolaos Kamarinakis
52360a0612 fix(swagger-ui-react): Use oneOfType in spec prop validation (fix #6399) (#6400) 2020-09-21 11:58:17 -07:00
Tim Lai
c5753248ab feat(swagger-ui-react): es module (#6303) 2020-08-14 13:53:05 -07:00
Tim Lai
7a6999b7f3 fix(swagger-ui-react): updated babel config file target (#6277) 2020-07-30 10:48:28 -07:00
Tim Lai
aebfcc091a Tmkasun ft/5367 support passing presets and default models expand depth (#6275)
* feat(swagger-ui-react): support for presets and defaultModelsExpandDepth


Co-authored-by: Kasun Thennakoon <tmkasun@gmail.com>
2020-07-29 16:50:16 -07:00
Tim Lai
b99ebe7dd3 feat(swagger-ui-react): option for showMutatedRequest (#6273)
Co-authored-by: neel <neelima.sri.vathsavai@autodesk.com>
2020-07-29 16:11:20 -07:00
Jordan Garside
bd1b297b56 feat(swagger-ui-react): add displayOperationId config support (#5795) 2020-06-12 14:28:42 -07:00
Brian Wright
3b6942c13a fix: set default supportedSubmitMethods (#6030) 2020-06-03 12:40:03 -07:00
MoOmEeN
6f1dd08e2a support for supportedSubmitMethods property in react component (#5376)
* support for supportedSubmitMethods property in react component

* update react README

Co-authored-by: Radek <radek.miazio@skysanner.net>
Co-authored-by: kyle shockey <kyle.shockey1@gmail.com>
2020-03-22 20:17:56 -04:00
Peter Mooney
296f73aa00 feat(swagger-ui-react): defaultModelExpandDepth and plugins props (#5594)
* Add plugins as React prop

* Add defaultModelExpandDepth as React prop

* Add documentation re: defaultModelExpandDepth and plugins props

* Fetched latest and rebased on that

* add on-mount-only warning messages to new options

Co-authored-by: Todd Lemoine <43755148+tlemoine-jama@users.noreply.github.com>
Co-authored-by: kyle shockey <kyleshockey@gmail.com>
2020-01-04 20:15:33 -05:00
kyle
d542f98530 housekeeping(flavor-react): point babel to root .babelrc (via #5467) 2019-07-18 19:25:26 -05:00
kyle
47b992f51c housekeeping: fail React flavor release if a step fails (via #5466)
* housekeeping: fail React flavor release if a step fails

* Update run.sh
2019-07-13 02:13:26 -05:00
kyle
0c04c1cdec housekeeping: allow overriding swagger-ui-react version` (via #5300)
...by setting the `REACT_FLAVOR_VERSION_IDENTIFIER` env var
2019-04-12 17:40:46 -07:00
Laurence Hudson
38def57c2d improvement: expose docExpansion as a prop in swagger-ui-react (via #5242)
* improvement: expose docExpansion setting as a prop in swagger-ui-react

* Update README.md

* Update index.js

* Update README.md

* Update README.md
2019-03-19 19:04:34 -07:00
Glen Schrader
ccf17e90e2 improvement: expose system object in swagger-ui-react's onComplete callback (via #5221)
* expose swagger object so it can be controlled in the onComplete function

* docs: swagger-ui-react onComplete system argument
2019-03-14 19:29:40 -07:00
kyle
cb01304d64 housekeeping: use npmrc auth for React module publishing (via #5210)
* fix: use npmrc auth for React module publishing

* revert removal
2019-03-01 21:47:55 -08:00
kyle
7025773fbf feature: swagger-ui-react module (via #5207)
* swagger-ui-react alpha.0

* alpha.1

* alpha.2

* alpha.3

* begin updating README

* alpha.4

* WIP: `displayOperationId` support

* move loading error readouts to BaseLayout

* add `url` prop

* export React component as default

* add interceptor support

* modify docs markup

* add `onComplete` prop

* add `spec` prop

* Update README.md

* alpha.6

* remove independent manifest; build releasable exclusively from template

* ensure dist is present; drop config field in manifest

* drop alpha field

this script is now able to release to npm!

* remove unused selector references

* Update README.md
2019-03-01 20:41:30 -08:00