kyle
bb84da4e1d
fix(oas3-editor-rendering): default to first server if current server becomes invalid ( #4139 )
...
* Remove produces/consumes setter from OperationContainer
* Store consumes/produces information in `meta` key
* Migrate produces value state usage to `meta` key
* use meta consumes data for isXml check
* Fix failing tests
* normalize action name casing
* restore correct produces fallback value logic
* default to first server if current server is invalid
2018-01-19 21:38:12 -06:00
Andrew Luca
e531c40356
fix(styles): stop wrapper from overflowing on smaller devices ( #4121 )
...
When using `swagger-ui` for consumption by JavaScript web projects
that include module bundlers, instead of `swagger-ui-dist`
there is no `box-sizing: border-box` on `.wrapper`
and it's width overflows because of additional `padding: 0 20px`
2018-01-19 13:54:01 -06:00
Paulo Schneider
f29202fed8
improve(docker): support multiple API URLs option ( #4044 )
...
The API_URLS environment variable can be used to run the Docker image with multiple urls.
Example:
docker run -p 80:8080 -e API_URLS=[{name:"First API", url:"http://firstapiurl "},{name:"Second API", url:"http://secondapiurl "}] swaggerapi/swagger-ui
2018-01-19 12:35:20 -06:00
Can Taşdemir
c28213d457
fix(docs): correct plugin api typo ( #4138 )
2018-01-19 10:53:06 -06:00
Drew Ballance
286c0e0f72
fix: execution error in IE ( #4128 )
2018-01-18 21:35:43 -06:00
kyle
7af7121e64
fix: streamline management of user-selected produces and consumes values ( #4137 )
...
* Remove produces/consumes setter from OperationContainer
* Store consumes/produces information in `meta` key
* Migrate produces value state usage to `meta` key
* use meta consumes data for isXml check
* Fix failing tests
* normalize action name casing
* restore correct produces fallback value logic
2018-01-18 20:37:44 -06:00
kyle
ec4890299c
Merge pull request #4111 from swagger-api/swagger-ui/patch-1
...
Fix example
2018-01-15 17:37:15 -06:00
Alexandre Barbier
31ccaf3ea3
Fix example
2018-01-15 12:07:29 +01:00
kyle
253573200a
release: 3.9.1 ( #4106 )
...
* fix(core-components): make `onToggle` a non-required prop in ModelCollapse
* release: 3.9.1
2018-01-13 01:30:37 -06:00
diegospd
024b7db81e
fix(docs): correct tranditional typo ( #4104 )
2018-01-12 16:39:13 -06:00
David Muto
5b1dbec9b0
feature(docker-image): allow custom nginx port within container ( #4086 )
...
* Use PORT to override nginx listen port when defined
* Add dockerignore to make build context smaller
2018-01-12 13:52:09 -06:00
Lukasr29
64f99356a5
improve(tio): extract file name from Content-Disposition ( #4035 )
...
* Added extraction of quoted file name from content disposition header
* Added extraction of quoted file name from content disposition header - PR Fixes
* Added extraction of quoted file name from content disposition header - PR Fixes
* Added extraction of quoted file name from content disposition header - PR Fixes
2018-01-11 19:39:42 -06:00
linelson
b3e80cc500
fix(tic-validation): uuid format parameter validation should be case insensitive ( #4102 )
...
* fix uuid validation casing (#4099 )
* add test
2018-01-11 18:42:37 -06:00
kyle
53ea2003c1
improve(npm-module): include standalone preset in swagger-ui ( #4101 )
2018-01-11 18:39:13 -06:00
Udit Desai
a037c7205b
improve(docker-image): symlink swagger.json from app directory to nginx ( #4024 )
2018-01-11 17:06:56 -06:00
kyle
63d5f164c6
fix(core-components): make onToggle a non-required prop in ModelCollapse ( #4100 )
2018-01-11 16:56:36 -06:00
Helen Kosova
2e816e0440
fix(docs): broken link in the issue template ( #4094 )
2018-01-10 18:32:33 -06:00
kyle
0818882a90
v3.9.0 ( #4078 )
2018-01-06 02:27:11 -06:00
kyle
0751022b77
bug(polyfiller): check for Promise on global/window object
2018-01-06 00:19:29 -06:00
kyle
fc070408f6
docs(contributing): add merging pull requests section ( #4076 )
2018-01-05 22:34:04 -06:00
David DE CARVALHO
a47da98b54
feat(render/parameters): display enums, defaults, and examples when not in TIO mode
2018-01-05 22:09:32 -06:00
narutowyh
12a9fbc0ca
fix: ignore prototype's keys in a handful of for...in loops
2018-01-05 21:57:17 -06:00
Juan J. Jimenez-Anca
bd41b736a8
feat: display last error when definition/config load fails
...
Contains a breaking internal API change to `errActions.newThrownErr`, which will require a MINOR version bump. Swagger-Editor does not depend on the old usage style.
2018-01-05 21:45:21 -06:00
kyle
a8f204181e
Merge pull request #4075 from jenglish404/patch-2
...
Make parameter description styles consistent
2018-01-05 20:51:23 -06:00
kyle
67d472acc7
Merge branch 'master' into patch-2
2018-01-05 20:07:03 -06:00
kyle
aebcfe8e5d
Merge pull request #4073 from champjss/master
...
Change nginx configuration in Docker container based on BASE_URL, instead of moving actual files
2018-01-05 19:23:24 -06:00
jenglish404
71c0742735
Make parameter description styles consistent
...
Remove .swagger-ui .parameters-col_description p formatting from _table.scss. With this in place, the parameter descriptions are bold and a larger font for request parameters. This is inconsistent with how response values are displayed.
2018-01-05 15:17:22 -08:00
Jatesadakarn Saengrat
8e4f94b33f
Change nginx configuration based on BASE_URL, instead of moving actual files
2018-01-05 18:56:30 +07:00
kyle
a9ea10da2c
Merge pull request #4037 from scop/zopflipng
...
Run *.png through zopflipng -m
2018-01-03 18:58:49 -06:00
kyle
8f3535b5ff
Merge branch 'master' into zopflipng
2018-01-03 18:55:00 -06:00
kyle
0ca0b8120f
Merge pull request #4067 from shockey/master
...
Add try/catch protection for statePlugin interfaces
2018-01-03 16:54:27 -06:00
kyle
603c436427
Merge branch 'master' into master
2018-01-03 16:37:15 -06:00
Kyle Shockey
c601f9b0ca
Add try/catch protection for statePlugin interfaces
2018-01-03 13:59:48 -06:00
kyle
c742df9573
Merge pull request #4066 from swagger-api/the-year-is-now-2018
...
Happy new year 🎉
2018-01-02 15:36:12 -06:00
kyle
ecfda531de
Happy new year 🎉
2018-01-02 15:33:04 -06:00
kyle
b749ea737d
Merge pull request #4062 from shockey/master
...
v3.8.1
2017-12-30 01:39:49 -06:00
Kyle Shockey
248aeca0db
v3.8.1
2017-12-30 01:33:23 -06:00
kyle
adf03e49ae
Merge pull request #4060 from shockey/master
...
Refactor `specPath` to Immutable.js data structures to avoid waste renders
2017-12-28 18:55:02 -06:00
Kyle Shockey
9bad35ed85
Refactor specPath to Im data structures to avoid waste renders
2017-12-28 18:04:12 -06:00
kyle
ccc3b109a7
Merge pull request #4059 from shockey/master
...
Refactor `afterLoad` interface to expose raw plugin context
2017-12-28 16:49:58 -06:00
Kyle Shockey
56caeec8c8
Add documentation for rootInjects interface
2017-12-28 16:44:20 -06:00
Kyle Shockey
9d48c4751a
Refactor afterLoad interface to expose raw plugin context
2017-12-28 16:26:18 -06:00
kyle
1646b270f8
Merge pull request #4052 from shockey/v/3.8.0
...
v3.8.0
2017-12-23 02:03:30 -06:00
Kyle Shockey
03f80dcc70
v3.8.0
2017-12-23 01:58:57 -06:00
kyle
f982eb4894
Merge pull request #4049 from shockey/support/editor-validation-refactor
...
Supporting changes for Swagger-Editor semantic validation changes
2017-12-23 00:25:30 -06:00
kyle
10b4f5d8a7
Merge branch 'master' into support/editor-validation-refactor
2017-12-23 00:18:26 -06:00
kyle
9c2f9d2059
Merge pull request #4051 from shockey/bug/4040-default-tag
...
Don't parse non-method path keys as operations
2017-12-22 23:39:38 -06:00
kyle
7469705bef
Merge branch 'master' into bug/4040-default-tag
2017-12-22 23:35:54 -06:00
Kyle Shockey
57db23ed1f
Don't parse non-method path keys as operations
2017-12-22 23:30:38 -06:00
kyle
135fc34077
Merge pull request #4050 from shockey/bug/editor-1596
...
Prevent non-object values from being dispatched as new JSON content
2017-12-22 23:25:26 -06:00