kyle
9155eb946e
fix: always display locally-available title property as a model's name ( #4542 )
...
* fix: always display locally-available `title` property as a model's name
* fix failing unit test
* add e2e test case
2018-05-10 22:15:36 -07:00
kyle
8cef3adfe6
fix: path-item $ref operation metadata storage ( #4489 )
2018-04-27 10:29:33 -07:00
Helder Sepulveda
62ed4db110
fix: http auth component state retention issue ( #4394 )
...
* Set the value if set is available
* tests: add failing e2e test case
* use Object.assign to always ensure setState receives a new value object
2018-04-20 16:08:39 -07:00
kyle
932cc9838c
fix: Callback component $$ref handling ( #4454 )
2018-04-18 18:05:15 -07:00
Aleksey Ganzha
26d0ad7684
fix(regression): model rendering for Swagger 2.0 body parameters ( #4424 )
...
* Fix model rendering for parameters
* tests(e2e): add test confirming that Pet model is shown in operation
2018-04-13 16:57:32 -07:00
Ville Skyttä
14473dd51d
fix: misc. spelling errors ( #4421 )
2018-04-09 15:58:52 -07:00
David DE CARVALHO
39d34523b9
Improve enum values for Enum Type in Swagger ReadOnly documentation ( #4191 )
...
* Adding enum values for Enum Type in Swagger ReadOnly documentation
* Adding enum values for Enum Type in Swagger ReadOnly documentation (optimisation) and also adding default/example value
* Add new display enums, defaults, and examples when not in TIO mode (another way to have enums values in swagger.json)
* Fix npm test result
* review corrections
* fix: don't render parameter description if field is empty
* use cross-version schema variable to access properties
* pass className through Markdown component usage
* add per-field classNames to Markdown for easier styling + testing
* remove parameter Example field (out-of-scope for this PR)
* get default value from schema instead of top-level parameter
* tests: add e2e cases for swagger2 and oas3
* remove `swagger-petstore-enum.json`
the purpose of this file lives on in the e2e test specs folder
* add missing proptypes validation
* use `classnames` to more effectively union class names
2018-04-05 18:48:19 -07:00
kyle
d90353228a
pass meta error information to JsonSchemaForm correctly ( #4416 )
...
* tests: add failing e2e tests
* fix: pass meta error information to JsonSchemaForm correctly
2018-04-05 15:30:31 -07:00
kyle
4480db0390
Use non-normalized operationId for layout management, if it is available ( #4410 )
...
* test(e2e): modify e2e hot server to peacefully coexist with dev server
* tests: add failing e2e test case
* fix: use originalOperationId for layout targeting, if available
2018-04-04 18:55:10 -07:00
kyle
624a81201f
feat: onComplete config option ( #4322 )
...
* feat: `onComplete` config option
* tests(e2e): add case for onComplete option
2018-03-16 00:08:39 -07:00
kyle
4fd7f1d099
fix: remote ref resolution regression ( #4273 )
...
* Use `parameterWithMeta` to get parameter data in <ParameterRow>
* Prefer specPath when fetching resolved subtrees in OperationContainer
* Add test for OAS3 callback rendering
* Remove debugger statement
* Pass base resolution URL directly to Swagger-Client subtree resolver
* Remove accidental comment
* Migrate additional options
2018-03-01 10:12:47 -08:00
kyle
8777d8b9ff
fix: use specPath prop to resolve operations in OperationContainer ( #4272 )
...
* Use `parameterWithMeta` to get parameter data in <ParameterRow>
* Prefer specPath when fetching resolved subtrees in OperationContainer
* Add test for OAS3 callback rendering
* Remove debugger statement
2018-02-28 17:50:08 -08:00
kyle
22036b1fbf
fix: OAS3 parameter value input bug ( #4271 )
2018-02-28 16:30:20 -08:00
HelderSepu
58dcce497e
e2e test for the validation
2017-11-04 18:40:46 -04:00
Kyle Shockey
ed6a4fffb9
initialize mainPage variable (for linter)
2017-08-08 18:10:33 -07:00
Kyle Shockey
49bb139736
1.json -> petstore.json
2017-08-08 18:03:54 -07:00
Kenny
543d34d009
write the test in multiple files
2017-08-08 14:08:21 -07:00
Kenny
c7af68b06d
Rehydrate test code
2017-08-04 11:19:02 -07:00
Kenny
c38ba45aa0
Fix base url.
2017-08-02 12:39:09 -07:00
Kenny
3e212655ae
add some test
2017-08-01 09:33:17 -07:00
Kenny
144c8b2eee
finish overall test
2017-08-01 09:32:31 -07:00
Kenny
dbe3c3194f
writing mock data test for pet
2017-07-31 08:09:16 -07:00
Kenny
0e552c2116
Write test for UI
2017-07-25 14:42:39 -07:00
Kenny
143c8e44df
Modify test running script, rewrite some test based on local son
2017-07-12 05:51:00 -07:00
RVKen
ee2f9d0a01
take out bin files from the repo
2017-07-07 10:10:25 +02:00
RVKen
9e8007398a
mock api
2017-07-07 09:47:39 +02:00
RVKen
57beaada82
replace binary files with npm module
2017-06-23 10:52:48 +02:00
RVKen
575e35dc8c
beautify spec json
2017-06-23 10:00:12 +02:00
RVKen
e2fbf50c96
write schemeContainer tests
2017-06-23 00:57:53 -07:00
RVKen
d218cc8fc6
write informationContainer test
2017-06-21 08:44:14 -07:00
RVKen
d53a139e9c
write some tests
2017-06-20 01:53:43 -07:00
RVKen
622ce14195
integrate nightwatch
2017-06-19 22:43:12 +02:00
Ron
bd8344c808
out with the old
2017-03-17 20:34:15 -07:00
Anna Bodnia
66544a87ca
Moved tests into v2 folder, added helper to run spec with the same name as test filename
2016-01-05 15:55:40 +02:00
Tony Tam
afe1b3dcdf
disabled tests #1826
2015-12-18 12:10:34 -08:00
Laurent Lepinay
7e82b3d66a
jshint
2015-09-21 15:36:59 +02:00
Laurent Lepinay
1367e8f6fa
Merge remote-tracking branch 'upstream/master' into JSONEditorMaster
...
Conflicts:
dist/swagger-ui.js
dist/swagger-ui.min.js
test/e2e/v2.js
2015-09-21 14:48:29 +02:00
Tony Tam
20b0dde184
updated timeouts
2015-09-19 11:36:40 -07:00
Tony Tam
f6f8e74586
Update v1.js
2015-09-19 10:39:16 -07:00
Tony Tam
4efefb156a
Update v2.js
2015-09-19 10:39:01 -07:00
Tony Tam
058f959669
extended timeouts
2015-09-19 09:51:23 -07:00
unknown
ea2cefa46e
Merge branch 'JSONEditor' into JSONEditorMaster
...
Conflicts:
dist/swagger-ui.js
dist/swagger-ui.min.js
src/main/less/screen.less
2015-09-10 10:53:15 +02:00
Miroslav Bajtoš
f6d7b6a73f
Fix timing issues in unit-tests
2015-08-06 17:22:52 +02:00
Laurent Lepinay
78c7dda0a9
fixed jshint issues
2015-04-20 10:32:33 +02:00
laurent lepinay
326f542d04
Merge branch 'develop_2.0' into JSONEditor
...
Conflicts:
dist/index.html
dist/swagger-ui.js
dist/swagger-ui.min.js
2015-03-27 02:15:29 -07:00
Mohsen Azimi
b36c6e596e
xit out tests that are failing due to SwaggerJS
2015-03-25 15:23:49 -07:00
Mohsen Azimi
445e0353ca
Append .json to v1 spec files to enforce Content-Type when serving in test
2015-03-25 12:49:57 -07:00
laurent lepinay
e7b7465335
Merge branch 'develop_2.0' into JSONEditor
...
Conflicts:
dist/index.html
dist/swagger-ui.js
dist/swagger-ui.min.js
src/main/coffeescript/view/MainView.coffee
src/main/coffeescript/view/OperationView.coffee
src/main/coffeescript/view/ParameterView.coffee
src/main/coffeescript/view/ResourceView.coffee
src/main/coffeescript/view/SignatureView.coffee
src/main/html/index.html
2015-03-24 07:06:07 -07:00
Mohsen Azimi
c710ad5be1
Fix V2 test
2015-03-12 17:16:15 -07:00
Mohsen Azimi
5c32313880
JSHintify test
2015-03-12 17:01:01 -07:00