Vladimír Gorej
7260005bd8
feat: consolidate syntax highlighting code into standalone plugin ( #9783 )
2024-04-05 21:12:25 +02:00
Tim Lai
d68b7485b1
fix(lint): upcoming eslint@8 reported errors ( #8105 )
...
* fix: duplicate propTypes
* chore(lint): fix extra semicolon
2022-07-19 14:46:43 -07:00
Tim Lai
10db26d4e8
refactor(live-response): move h4 to inside div class request-url ( #7954 )
2022-03-28 11:11:23 -07:00
Mahtis Michel
8405fa0101
feat: request snippets plugin ( #6910 )
2021-03-10 11:02:34 -08:00
Mahtis Michel
4db2edcad2
feat: verbose Failed to fetch error ( #6938 )
...
* feat: verbose Failed to fetch error
* refactor: disable console.error in src/core/plugins/spec/actions.js
Co-authored-by: Tim Lai <timothy.lai@gmail.com >
2021-02-24 14:32:25 -08:00
Lucia Sarni
99fda81ae0
fix: missing commas in response header values #6183 ( #6515 )
2020-10-14 19:37:12 -07:00
Tim Lai
a73783b73d
feat: syntax highlighting of code section ( #6236 )
...
Co-authored-by: AdrieanKhisbe <adriean.khisbe@live.fr >
2020-07-17 15:29:15 -07:00
Jamie Peabody
e8266a3c6d
fix: code highlight styles are now only applied pre.microlight ( #5673 )
...
* patch(#5672 ): code highlight styles are now only applied to pre blocks that have the class pre.microlight
* fixed pre style appied to .request-url
* fixed response-headers and request-duration pre blocks
* made pre.microlight class as per review
* added microlight class to appropriate pre and added tests
2019-11-03 20:46:38 -05:00
thierrydallacroce
0b3489b52d
fix: remove .col class that causes collision with Bootstrap (via #5541 )
...
* improvement: address Bootstrap conflict by removing our .col class (#4574 )
* use `.parameters-col_description` selector in Cypress tests
2019-08-20 19:51:45 -07:00
kyle
a5568f9e16
improve: OAuth2 UI and test suite (via #5066 )
...
* create `features` folder
* add base oauth2 server
* continue implementing OAuth tests
* WIP
* add password flow tests
* modify Password flow credential types
* remove query string credential type
* add test case for Authorization flow
* add specific Authorization value for Password flow test
* WIP
* fix linter issues
2018-12-07 20:54:29 +01:00
Helder Sepulveda
762a32b59b
fix: header access for Edge browser ( #4383 )
2018-03-29 16:24:46 -07:00
gilbode
f0c5f1fe33
fix: use mutated request for request URL in live-response ( #4117 )
2018-02-09 19:49:18 -08:00
Owen Conti
b15942dfe1
Merge branch 'ft/performance' of github.com:swagger-api/swagger-ui into ft/performance
...
# Conflicts:
# src/core/components/responses.jsx
2017-10-22 12:55:51 -06:00
Kyle Shockey
a6944a279c
Remove getComponent call for RequestUrl
2017-08-21 17:21:48 -07:00
Kyle Shockey
39450f7364
Merge branch 'feature/request-url' of https://github.com/dalbani/swagger-ui into dalbani-feature/request-url
2017-08-21 17:19:17 -07:00
Owen Conti
cfb4625eb0
Add shouldComponentUpdate to response.jsx and live-response.jsx. Remove isShownKey from shouldComponentUpdate of OperationContainer. Moved response and request out to separate props for operation.jsx. Removed unused request prop from responses.jsx.
2017-08-20 18:50:49 -06:00
Owen Conti
bcefb6eb3e
Convert pathMethod prop to two separate props.
2017-08-20 15:25:13 -06:00
Mike Gilbode
087ed20384
Add support for requestInterceptor / responseInterceptor.
...
- 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
2017-08-13 01:14:41 -04:00
Damiano Albani
cd6b86e710
Restore "Request URL" in live response section
2017-07-20 14:12:34 +02:00
shockey
b72aa3a7c8
Merge branch 'master' into webpack-migration-2.x
2017-06-29 18:23:36 -07:00
shockey
afaa5619bb
Merge branch 'master' into bug/3072-error-response-fixes
2017-06-29 17:20:09 -07:00
RVKen
d36f0a6dbd
fix eslint issues
2017-06-29 04:37:19 +02:00
Owen Conti
0c6f5e8d32
Add displayRequestDuration configuration option.
2017-06-26 21:13:17 -06:00
Owen Conti
ddb5704637
#3072 - Display response body and headers for requests that result in non-200 responses. Add test to ensure error and response are merged correctly
2017-06-25 13:28:14 -06:00
Owen Conti
7049a5960c
#3135 - Add request duration to response details
2017-06-25 09:16:35 -06:00
Furkan Ayhan
b3e476f476
Show actual error response when trying
2017-06-09 10:25:28 +03:00
Josh Ponelat
2479b8cdde
ensure live-response headers exist
2017-03-19 08:37:56 +02:00
Ron
f22a628934
in with the new
2017-03-17 21:17:53 -07:00