Ochuko Pedro
8f93354c81
fix(styling): ensure authorize button stays on the right ( #9387 )
...
Refs #8940
Refs #9325
2023-11-20 13:00:21 +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
Pierre PLR
20c2c74746
fix(oas31): use system.fn as source of truth for Model wrapper ( #9153 )
...
Refs #8577
2023-11-13 14:11:08 +01:00
Ochuko Pedro
e34d8fb874
fix(styling): make Operations more responsive on smaller screens ( #9325 )
...
Along with the operations, Topbar and Authorization button
has been made more responsive as well.
Refs #8940
2023-11-10 18:17:05 +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
Maggie Wachs
2a4afd94f6
fix(a11y): remove redundant aria-label from accordion button ( #9361 )
2023-11-09 13:54:10 +01:00
Patryk Rosiak
aa9cf56327
feat: add wrapper for OpenAPI 3.1.0 version label ( #9267 )
...
Refs #9167
Refs #9264
2023-09-29 14:09:01 +02:00
Patryk Rosiak
1addcfebb5
feat: add wrapper for version labels ( #9264 )
...
Refs #9167
2023-09-28 19:21:03 +02:00
Krzysztof Kowalczyk
c2c6ba60b1
feat(operation-summary): move JumpToPath component after collapse/expand icons ( #9230 )
...
The goal if to have collapse/expand icon always
in the extreme right possition.
Refs #9111
2023-09-22 12:07:24 +02:00
Vladimír Gorej
0144dad03d
fix(callbacks): display all defined callbacks ( #9223 )
...
Refs #9222
2023-09-18 09:26:12 +02:00
Vladimír Gorej
9ca41e0b40
fix(resolve): make retrievalURI absolute before resolution ( #9214 )
...
Refs #9208
2023-09-14 13:33:31 +02:00
Vladimír Gorej
b7f533174a
fix(security): allow more strict CSP for SVG assets ( #9209 )
...
Refs #7540
2023-09-14 12:34:13 +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
f151685f64
refactor: use document.baseURI for URI Reference resolution ( #9205 )
2023-09-13 11:13:39 +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
Filip Seman
1b6391c943
feat(syntax-highlighter): add light variant called "idea" ( #8938 )
2023-08-17 11:46:07 +02:00
Aleksandr Vladykin
c90ef50e73
fix(ui): make download button accessible via keyboard ( #8974 )
...
Refs #8881
2023-08-16 17:06:50 +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
Richard Wilburn
c06d10dc58
fix: expand tags and operations predictably in multiple SwaggerUI instances ( #9050 )
...
Refs #6996
Co-authored-by: Vladimír Gorej <vladimir.gorej@smartbear.com >
2023-08-16 15:26:30 +02:00
Vladimír Gorej
d4b84851da
fix(request-body): access data of request body in safe way ( #9110 )
2023-08-02 15:26:02 +02:00
Vladimír Gorej
733e51ad65
fix(icons): allow SVG icons to receive arbitrary props ( #9106 )
...
These arbitrary props will allow to handle
native React element events among other things.
Refs #9094
2023-08-02 14:39:05 +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
smzelek
876727c46f
fix(ui): align response description column ( #8963 )
...
Closes #7850
2023-07-27 14:16:20 +02:00
Tarcisio
6a4656f669
fix(ui): align "send empty" checkbox ( #9061 )
...
Closes #9060
2023-07-27 14:00:16 +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
Damian Polewski
f3ea2a251d
feat: add Icons plugin
...
* Change existing icons to React wrapper components
* Add `icons` plugin to expose Icon components to plugin system
* Create components that re-export Lock and Unlock components so they can be changed separately in Authorise top button and Authorise operation summary button
* Add new Lock and Unlock icons to `auth` plugin
---------
Co-authored-by: Vladimír Gorej <vladimir.gorej@smartbear.com >
2023-07-20 14:51:17 +02:00
Vladimír Gorej
94fac4b3a1
fix(json-schema-2020-12): add rendering support for type='integer' ( #9031 )
...
Refs #9013
2023-07-17 15:10:21 +02:00
Vladimír Gorej
70d7986ad0
fix(json-schema-2020-12): fix rendering of exclusiveMin|Max keywords ( #9030 )
...
Refs #9013
2023-07-17 14:52:48 +02:00
Vladimír Gorej
667e55e368
perf(spec): increase performance of operation expansion ( #8937 )
...
Refs #8606
2023-06-16 20:39:04 +02:00
Vladimír Gorej
a6c27457e5
feat(spec): add new specJS selector ( #8936 )
...
This selector always returns the same JavaScript
object unless it really changes.
Before this change it customary to call
specJson().toJS() which always resulted
in transformation operation and new JavaScript
object.
Refs #8606
2023-06-16 13:37:10 +02:00
Vladimir Gorej
4cc8ecb790
Merge branch 'master' into next
2023-06-12 18:39:44 +02:00
Junrou Nishida
07a08cd2eb
fix(request-body): fix immutable prop types validation ( #8307 )
2023-06-12 15:03:49 +02:00
Vladimír Gorej
b593c50c7c
feat(samples): add support for merging type keyword ( #8916 )
...
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.
Refs #8577
2023-06-12 14:35:06 +02:00
Vladimír Gorej
12c7493018
fix(json-schema-2020-12): custom OAS 3.1 formats in type inferrence ( #8912 )
2023-06-11 19:55:19 +02:00
Vladimír Gorej
fd18aaa09c
refactor(samples): do the general code cleanup ( #8911 )
...
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.
Refs #8577
2023-06-11 19:27:59 +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
ce417d59d2
feat(samples): add support for inferring schema type ( #8909 )
...
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.
Refs #8577
2023-06-11 13:14:44 +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
d72b72c5c6
feat(samples): add support for custom formats, encoders and media types ( #8905 )
...
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.
Refs #8577
2023-06-09 15:34:39 +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
5cf9276b65
refactor(samples): extract number and string constrains applicators ( #8900 )
...
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.
Refs #8577
2023-06-08 18:53:25 +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
220150eb30
refactor(samples): type check object constraints acording to spec ( #8898 )
...
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.
Refs #8577
2023-06-08 14:48:16 +02:00
Vladimír Gorej
521a40adf0
refactor(samples): type check string constrains according to spec ( #8897 )
...
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.
Refs #8577
2023-06-08 14:34:24 +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