* Updated docs for correct usage of SWAGGER_JSON
* Removed href attribute from anchor tag if deeplinking is disabled
* If deeplinking is disabled the anchor tag has no href attribute as a result the mouse pointer is not a pointer as it is no longer a hyperlink, setting the cursor explicitly to pointer.
* Refactor: use ternary operators at attribute level instead of element level
* Only polyfill Promise if it doesn't exist at all
* v3.1.7
* Typo fix
* fix#3624
* Squash commit: OAS3 Try-It-Out changes
* Parse JSON requestBodies so Client can consume them correctly
* Use Client branch
* Fix typo in swagger-client dependency
* Fix property names being displayed in array models
* Working on refactoring of model.jsx
* Fit linter and tests
* Add comment to array-model for to clarify change. Rework logic in `Model.render()` to fix bug with overriding name and schema from `$ref` definition.
* v3.2.0
* fromJS does not maintain order of object properties. Use a reviver function with fromJS inside the response.jsx component for the passed down schema prop.
* OAS3 Accept header control: Component-side
* OAS3 Accept header control: State-side
* Update response.jsx to use already existing, fromJSOrdered function
* Added test for response.jsx to make sure properties are passed to `ModelExample` component in the correct order
* Remove `it.only` from new test
* Fixes#3596
Wrap `isShownKey` values in a function that replaces spaces with underscores. When parsing the hash on route change, replace the spaces in the values with underscores again.
* Replace spaces with underscores when setting the hash value and inserting the ID into the DOM. Escape the deep link path when querying for the DOM element on hash change.
* Handle null value in createDeepLinkPath
* Add extra check for String types in `createDeepLinkPath`. Add `trim()` call on passed-in value in `createDeepLinkPath`. Added unit tests for new deep link util functions.
* LINTING!
* Roll back win import removal
Lost in merge conflict....
* More merge oversights...
- Display mutated requests from request interceptor in curl output in UI.
Put this behind showMutatedRequest flag so that the mutation can be
silent.
- Document requestInterceptor, responseInterceptor and showMutatedRequest
in README.md
- Add tests
Previously, a definiton with a 'length' property with numeric value
would result in an OrderedMap of that length.
This is now fixed and covered by tests
* master: (50 commits)
update NoErrorsPlugin to NoEmitOnErrorsPlugin
Undo change to `swagger-client` dependency
trigger setScheme when a new set of schemes come in
fix eslint issues
pin yams version
update dist
revert dependencies
minify bundle css
migrate webpack to v2.6.1
#3110 - Fix models down arrow icon in firefox
Fixes#3299 - export validateNumber and validateInteger for easy reuse and testing. Broke validateParam required check onto multiple lines. Added tests for validateNumber, validateInteger, and validateParam
Improve README with more information about `urls`
Rename variable: "selectedName" -> "primaryName"
"name" -> "urls.primaryName"
Update selectedIndex when a new URL is loaded
Use select value to avoid react warning
Properly added name config Now access it through getConfigs Documented it in README
Add displayRequestDuration configuration option.
Fix for #2947 - Display property names for non-object models
#3256 - Remove unnecessary JSON.stringify call on example values that are already strings
...
# Conflicts:
# dist/swagger-ui-bundle.js
# dist/swagger-ui-bundle.js.map
# dist/swagger-ui-standalone-preset.js
# dist/swagger-ui-standalone-preset.js.map
# dist/swagger-ui.css
# dist/swagger-ui.css.map
# dist/swagger-ui.js
# dist/swagger-ui.js.map
# make-webpack-config.js
# package.json
# webpack-dist.config.js
# webpack-hot-dev-server.config.js