Oliwia Rogala
32e7ce43d6
fix: avoid rendering empty response schemas ( #9667 )
...
Refs #9666
Co-authored-by: Pierre Paysant-Le Roux <ppaysant@gmail.com >
2024-03-06 15:10:29 +01:00
Vladimír Gorej
e2be707d7c
fix(oas31): render responses with empty content field ( #9664 )
...
Refs #9199
2024-03-06 14:20:45 +01:00
Oliwia Rogala
6154396e06
fix: fix regression in definition resolution ( #9658 )
...
Refs https://github.com/swagger-api/swagger-js/issues/3385
Refs #9645
2024-03-01 13:50:04 +01:00
Oliwia Rogala
7300e6c04e
fix(oas3): attempt to render schemas not resolved by swagger-client ( #9629 )
...
Refs #9513
2024-02-23 11:30:28 +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
Vladimír Gorej
7addbd0eb5
test: consolidate unit tests ( #9588 )
...
All mocha tests have been migrated to Jest tests.
Closes #9564
2024-02-14 11:39:40 +01:00
Oliwia Rogala
0aed3bc831
fix(json-schema-2020-12): expand deeply all Schema Objects and complex keywords ( #9581 )
...
Refs #9508
Supersedes #9510
Co-authored-by: Julien Bourges <julien.bourges@actility.com >
2024-02-14 10:16:34 +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
Oliwia Rogala
a88bed5130
fix(spec): render response body for non-200 responses ( #9555 )
...
Refs #9556
2024-02-07 16:05:00 +01:00
Vladimír Gorej
98b53090cb
feat: add support for React@18 in backward compatible way ( #9435 )
...
Any React version matching this semver is supported: >= 16.8 < 19
Refs #8126
Refs #8414
2023-12-20 16:50:22 +01:00
Artur
9a7c4c0593
fix(auth): allow password managers to pre-fill input fields ( #9390 )
...
HTML disallows having multiple IDs with the same value.
In reality this is for 1Password's feature where you can create
custom fields named like input IDs and 1Password fill pre-fill that.
2023-11-22 09:48:09 +01:00
Bas Schoenmaeckers
fb65508eb4
feat(samples): add base64url support for contentEncoding keyword ( #9246 )
...
This change is JSON Schema 2020-12 specific.
2023-11-13 16:01:27 +01:00
Michał Korczak
f803fa3410
fix(response-body): show download button both for non-empty Blob and string responses ( #9343 )
...
Co-authored-by: Vladimír Gorej <vladimir.gorej@gmail.com >
Refs #9298
2023-11-09 14:48:16 +01:00
Patryk Rosiak
1addcfebb5
feat: add wrapper for version labels ( #9264 )
...
Refs #9167
2023-09-28 19:21:03 +02:00
Vladimír Gorej
0144dad03d
fix(callbacks): display all defined callbacks ( #9223 )
...
Refs #9222
2023-09-18 09:26:12 +02:00
Patryk Rosiak
89cdd7b022
feat: add mutualTLS auth option ( #9193 )
...
Refs #8020
Co-authored-by: Vladimír Gorej <vladimir.gorej@smartbear.com >
2023-09-13 15:32:35 +02:00
Vladimír Gorej
d89726a24b
feat(deps): integrate swagger-client@3.22.0 ( #9202 )
2023-09-13 10:43:27 +02:00
Jelle Aret
2c04153614
feat(a11y): provide additional context for authorization and logout button ( #8999 )
...
Refs #8998
Co-authored-by: Vladimír Gorej <vladimir.gorej@gmail.com >
2023-09-07 10:00:03 +02:00
Vladimír Gorej
113996f627
feat(json-schema): expose API that generates examples from JSON Schema ( #9190 )
...
This allows to use the samples API in a static way
without fully instantiating SwaggerUI.
Refs #9188
2023-09-05 14:13:53 +02: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
Krzysztof Kowalczyk
4b48e36c09
feat(info): indicate OpenAPI 2.0 definition version ( #9167 )
2023-08-31 13:09:48 +02:00
Vladimír Gorej
377b54a998
fix(ui): change copy to clipboard button location ( #9111 )
...
Refs #8465
Refs #8153
Refs #8131
2023-08-16 16:43:31 +02:00
Vladimír Gorej
b2814737d6
feat: respect Encoding Object while building requests ( #9105 )
...
This change fixes both:
1. making multipart/form-data requests with content-type
header for every individual boundary
2. generating correct CURL command for multipart/form-data
request, allowing specifying content-type header for every
individual boundary
Refs #4826
Refs #5356
2023-08-01 15:20:22 +02:00
Vladimír Gorej
03a0280986
test(curlify): add test for multipart request quotes handling ( #9096 )
...
Refs #4826
2023-07-31 09:37:05 +02:00
Adam Davis
d9375dbddf
fix(samples): fix handling of additionalProperties in JSON Schema 2020-12 ( #9023 )
...
This change is specific to JSON Schema 2020-12 and OpenAPI 3.1.0.
Refs #9022
2023-07-24 10:04:00 +02:00
Vladimir Gorej
4cc8ecb790
Merge branch 'master' into next
2023-06-12 18:39:44 +02:00
Vladimír Gorej
75a8f34452
chore(deps): bump @babel/runtime-corejs3 from 7.21.5 to 7.22.5 ( #8918 )
...
Closes #8904
2023-06-12 15:39:21 +02:00
Vladimír Gorej
7bf0dd921b
feat(samples): add support for proper schema merging ( #8910 )
...
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.
Refs #8577
2023-06-11 15:35:05 +02:00
Vladimír Gorej
4b0b28518e
feat(examples): add support for examples keyword ( #8908 )
...
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.
Refs #8577
2023-06-10 17:08:24 +02:00
Vladimír Gorej
6c622a87e7
feat(samples): add support for contentSchema keyword ( #8907 )
...
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.
Refs #8577
2023-06-09 21:35:44 +02:00
Vladimír Gorej
1925622113
feat(samples): add support for contentMediaType keyword ( #8903 )
...
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.
Refs #8577
2023-06-09 11:37:11 +02:00
Vladimír Gorej
04839642fb
feat(samples): add support for contentEncoding keyword ( #8899 )
...
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.
Refs #8577
2023-06-08 18:35:03 +02:00
Vladimír Gorej
6549eff278
feat(samples): add support for contains, minContains, maxContains keywords ( #8896 )
...
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.
Refs #8577
2023-06-08 14:06:22 +02:00
Vladimír Gorej
1114965782
feat(samples): add support for uniqueItems keyword ( #8893 )
...
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.
Refs #8577
2023-06-07 14:21:04 +02:00
Vladimír Gorej
8a914926b3
feat(samples): add support for regex string format ( #8891 )
...
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.
Refs #8577
2023-06-07 12:39:04 +02:00
Vladimír Gorej
68cfe46490
feat(samples): support multipleOf keyword ( #8890 )
...
This change is specific ti JSON Schema 2020-12
and OpenAPI 3.1.0.
Refs #8577
2023-06-07 11:48:10 +02:00
Vladimír Gorej
3e81a4f897
chore(deps-dev): update cypress to v12 ( #8889 )
...
This update required changing the configuration
and test directory structure. Some tests needed
to be amended as well to compensate for new
Cypress APIs.
2023-06-07 10:25:32 +02:00
Vladimír Gorej
836659d8ac
feat(samples): support new semantics of exclusive number ranges ( #8885 )
...
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.
Refs #8577
2023-06-06 13:49:02 +02:00
Vladimír Gorej
bdad2fe83d
feat(samples): add support for const keyword ( #8884 )
...
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.
Refs #8577
2023-06-06 11:09:10 +02:00
Vladimír Gorej
3587696d73
feat(samples): add support for type keyword defined as list of types ( #8883 )
...
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.
Refs #8577
2023-06-06 10:54:08 +02:00
Vladimír Gorej
28b12338f8
feat(samples): add support for new values of format keyword ( #8882 )
...
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.
Refs #8577
2023-06-05 15:12:50 +02:00
Vladimir Gorej
2ce9d08af7
test: align tests with sample plugin changes
...
Refs #8577
2023-06-01 14:09:02 +02:00
Vladimír Gorej
027f53c302
refactor(samples): move example generation code to samples plugin ( #8727 )
...
Refs #8577
2023-06-01 14:09:02 +02:00
Vladimir Gorej
b9c6c6f9d3
Merge branch 'master' into next
2023-05-24 15:51:42 +02:00
Vladimír Gorej
7ac9a8f070
feat(auth): persist cookie based apiKey in document.cookie ( #8689 )
...
Refs #8683
2023-05-22 14:46:30 +02:00
Vladimír Gorej
872e382c5f
fix(oas31): fix deep linking for Webhooks and Callbacks ( #8680 )
...
Refs #8679
2023-05-16 14:57:00 +02:00
Vladimir Gorej
b4e9544f5f
Merge branch 'master' into next
2023-04-26 14:01:09 +02:00
Krzysztof Kowalczyk
cdfc4de43e
fix(response-body): remove download button when content is empty ( #8579 )
...
Co-authored-by: Vladimír Gorej <vladimir.gorej@gmail.com >
2023-04-26 13:42:49 +02:00
Vladimír Gorej
4db964378b
test(core): align test with dependency update ( #8512 )
2023-03-24 09:40:27 +01:00
Vladimír Gorej
16224263d1
feat(oas31): add support for OpenAPI 3.1.0 badge ( #8502 )
...
Refs #8501
2023-03-23 10:13:20 +01:00