Commit Graph

7 Commits

Author SHA1 Message Date
Oliwia Rogala
0f395c2adf fix(spec): format validation errors for nested parameters (#9775)
Refs #9774
2024-04-10 13:11:31 +02:00
Oliwia Rogala
99bf8fcc19 fix(spec): validation errors formatting (#9687)
Co-authored-by: Enrico Bottacin <enrico.bottacin@gmail.com>
Co-authored-by: Vladimír Gorej <vladimir.gorej@gmail.com>
2024-03-13 12:09:52 +01:00
Julien
0ce05095af fix(spec): ignore empty string for multi-value parameter (#9511)
Refs #9266 
Refs #5176 

Co-authored-by: Julien Bourges <julien.bourges@actility.com>
Co-authored-by: Oliwia Rogala <oliwia.rogala@smartbear.com>
2024-02-15 09:38:48 +01:00
Oliwia Rogala
6bb76c2c28 fix(spec): set multi-value parameters as an immutable list (#9567)
Refs #9566
2024-02-12 12:12:38 +01:00
Vladimír Gorej
edd1153723 feat: expose plugins and presets on SwaggerUI global symbol (#9189)
Part of this commit is also:
- complete plugins consolidation
- complete presets consolidation
- build system consolidation

Refs #9188
2023-09-05 09:56:51 +02:00
Mahtis Michel
25433c4864 fix(spec-selector): isMediaTypeSchemaPropertiesEqual should handle case where literal media-types are equal. (#6820)
* fix(spec-selector): isMediaTypeSchemaPropertiesEqual case same

should return true in case of comparing same media types.

* test(spec-selector): isMediaTypeSchemaPropertiesEqual tests
2021-01-12 18:31:51 -08:00
Tim Lai
1a27c0a8bd feat: migrate unit tests to Jest (#6353)
* config(jest): updated setup
* config(jest): update testMatch to include jsx files
* config(jest): add transformIgnorePatterns
* config(jest): update ignore files that do not work in jest yet
* config: add test:unit-jest to test script

* fix(jest): lint with eslint-plugin-jest

* refactor(jest): move unit test directory
* refactor(mocha): restore mocha tests that fail in jest

* docs(jest): update helpful scripts with test:unit-jest
2020-09-01 10:41:01 -07:00