Amrit Kahlon
a78c1ecb4d
Bump scalar api client package ( #2563 )
2024-10-30 11:45:56 -07:00
Amrit Kahlon
4771c78001
Fix Scalar ApiClient routing ( #2561 )
2024-10-28 12:38:18 -07:00
Amrit Kahlon
ff50ac215c
Bump @scalar/api-client-react version ( #2555 )
...
Co-authored-by: taranvohra <taranvohra@outlook.com >
Co-authored-by: Samy Pessé <samypesse@gmail.com >
2024-10-25 12:06:49 +05:30
Samy Pessé
3fe3809416
Version Packages ( #2415 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-24 15:54:23 +02:00
Amrit Kahlon
f89b31c940
Upgrade to the new scalar client ( #2539 )
...
Co-authored-by: Samy Pessé <samypesse@gmail.com >
2024-10-24 14:40:33 +02:00
Samy Pessé
42473611d3
Add required query parameters to the code sample ( #2474 )
2024-09-19 14:31:22 +02:00
vibhanshub
aa8c49eb0c
Display pattern if available in OpenAPI params ( #2461 )
...
Co-authored-by: Samy Pessé <samypesse@gmail.com >
2024-09-19 09:59:10 +02:00
Samy Pessé
ef9d012be9
Fix generation of icons package and add task "clean" ( #2470 )
2024-09-17 13:41:18 +02:00
Brett Jephson
e9149036f6
RND-3387: synchronize response tabs ( #2457 )
...
Co-authored-by: Samy Pessé <samypesse@gmail.com >
2024-09-12 11:01:29 +01:00
Samy Pessé
237b703a6c
Fix crash in OpenAPI block because of undefined examples ( #2458 )
2024-09-06 16:55:04 +02:00
vibhanshub
cf3045a718
Add Python support in code samples ( #2453 )
2024-09-06 14:29:50 +01:00
vibhanshub
a679e7283f
Render mandatory headers in the code sample ( #2445 )
2024-09-06 13:24:52 +01:00
Marc Laventure
4cbcc5bb20
fix: rollback scalar ( #2454 )
...
Co-authored-by: Brett Jephson <brett@gitbook.io >
2024-09-06 10:32:33 +01:00
Brett Jephson
51955dae3b
Response examples with status code tabs ( #2448 )
2024-09-06 09:35:43 +01:00
Brett Jephson
51fa3ab2c8
Use content-visibility on open api operations ( #2451 )
2024-09-05 17:21:42 +01:00
Marc Laventure
c079c3c6d9
chore: bump scalar package ( #2421 )
...
Co-authored-by: Samy Pessé <samypesse@gmail.com >
2024-08-21 08:27:22 +02:00
Marc Laventure
094e9cdac2
chore: bump scalar ( #2410 )
...
Co-authored-by: Samy Pessé <samypesse@gmail.com >
2024-08-02 10:24:39 +02:00
Samy Pessé
5c35f36b3a
Prepare @gitbook/icons package and use it as a replacement of geist/icons ( #2404 )
2024-08-02 09:59:44 +02:00
Samy Pessé
32a73b55d4
Version Packages ( #2403 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-25 15:12:18 +02:00
Samy Pessé
0426312d6c
Reset to first tab when tabs change in an InteractiveSection ( #2407 )
2024-07-25 15:09:21 +02:00
Samy Pessé
ede2335fb3
Fix x-codeSamples: false not working at the single operation level ( #2408 )
2024-07-25 14:59:30 +02:00
Amrit Kahlon
709f1a1ccb
Update Scalar Api Client to new version ( #2406 )
...
Co-authored-by: marclave <marc@scalar.com >
Co-authored-by: Samy Pessé <samypesse@gmail.com >
2024-07-25 10:25:50 +02:00
Samy Pessé
7e74d25447
Version Packages ( #2397 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-22 16:26:53 +02:00
Samy Pessé
3445db41ce
Fix packages not including all files ( #2396 )
2024-07-22 16:20:06 +02:00
Samy Pessé
d1bd02a6f5
Version Packages ( #2395 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-22 15:43:27 +02:00
github-actions[bot]
47f7558c38
Version Packages ( #2393 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-22 15:05:57 +02:00
Samy Pessé
de747b7b33
Better structure monorepo and publish JS files for react-openapi and react-math ( #2392 )
2024-07-22 15:02:04 +02:00
github-actions[bot]
e966e33e8f
Version Packages ( #2390 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-21 19:45:18 +02:00
Samy Pessé
bd0ca5babd
Fix @gitbook/react-openapi when react import are mandatory ( #2389 )
2024-07-21 19:43:50 +02:00
github-actions[bot]
ba2a523722
Version Packages ( #2387 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-19 08:28:14 +02:00
github-actions[bot]
7377928c8a
Version Packages ( #2385 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-18 21:05:22 +02:00
Samy Pessé
5f8a8fe9b1
Setup Changeset to publish packages to NPM ( #2384 )
2024-07-18 21:00:50 +02:00
Samy Pessé
b8c136e9c0
Fix render of one of when alternatives are primitives ( #2378 )
2024-07-15 10:15:42 +02:00
Samy Pessé
81b372f372
Fix response example when response example is a string ( #2377 )
2024-07-12 10:35:22 +02:00
Samy Pessé
aaf5793cb7
Use schema.example if defined, even if value is falsy ( #2370 )
2024-07-05 16:34:48 +02:00
Samy Pessé
8d38d000fd
Fix RND-4344 ( #2368 )
2024-07-04 17:04:35 +02:00
vibhanshub
106cbbd987
Add support for examples in OpenAPI block ( #2314 )
2024-06-20 16:02:58 +05:30
Marc Laventure
cf74d00758
chore: update scalar client ( #2316 )
2024-05-14 11:52:09 -07:00
Steven H
3076e96061
Fix an issue where OpenAPI blocks could not be fetched. ( #2267 )
2024-04-04 12:28:30 +02:00
Samy Pessé
c1ef7f2782
Fix display of parameter's description in OpenAPI block ( #2258 )
2024-04-02 00:35:59 +02:00
Samy Pessé
4f728c0137
Fix parsing of Swagger 2.0 when it can be patched ( #2254 )
2024-03-31 20:13:34 +02:00
Samy Pessé
0894a740ff
Fix crash when "required" is not an array in OpenAPI schemas ( #2247 )
2024-03-28 17:03:30 +01:00
Amrit Kahlon
ef8eb72364
fix: clear scalar api client response on close ( #318 )
...
* fix: clear scalar api client response on close
* bun install
---------
Co-authored-by: Samy Pessé <samypesse@gmail.com >
2024-03-21 14:53:29 +01:00
Samy Pessé
37be6f3164
Support options in the OpenAPI spec to control the look and feel ( #306 )
...
* Don't show code-samples if x-codeSamples is defined
* Support x-hideTryItPanel to hide "Try it"
* Fix display of code samples
2024-03-19 16:32:15 +01:00
Marc Laventure
4f039ecb2b
feat: add scalar api client ( #180 )
...
* wip
* feat: add scalar api client
* fix: pr feedback
* feat: add scalar react client package, remove vueary
* feat: add scalar proxy
* Move dependencies to package
* Format once
* Rename prop
* Use react context and simplify lazy loading
* Add loading state
* Format
* Move styles
* bun install
* bun
* fix: remove extraneous api-reference package
* feat: make operation functional with spec in client
* fix: column bug and http request type wrapping
* fix: add scalar api reference package
* Format
* bun install
* fix: scrolling in scalar modal
* Lazy load operations data in component
* fix: change dependency from api-reference to oas-utils to reduce size
* bun install
* Log error in the worker proxy
* Cleanup
* Comment "mode"
* Without credentials and referrerPolicy
---------
Co-authored-by: Samy Pessé <samypesse@gmail.com >
Co-authored-by: Amrit <amrit@hockey-community.com >
2024-03-19 15:32:54 +01:00
Samy Pessé
cf958bacd1
Fallback to MathJax when KaTeX fails to compile math ( #303 )
...
* Start
* Use MathJax v3
* Format
* Improve font-size
* Lint
* Better handle loading
* Copy MathJax assets to public folder
* Attempt at using local assets for MathJax
* Use bun 1.0.31
* Try with bun 1.0.33
* Try fixing headers
* Simplify
* Simplify and not use suspense module
* Cleanup more
* Add test for Math
* Make math block scroll if needed
* Update packages/react-math/src/KaTeX.tsx
Co-authored-by: Greg Bergé <berge.greg@gmail.com >
* Use React.use
* Format
* Use exports
* Lint
* Disable cache in CI for lint
* Format
---------
Co-authored-by: Greg Bergé <berge.greg@gmail.com >
2024-03-19 11:34:53 +01:00
Steven H
d8ffa5d69c
Fix an issue where parsing an OpenAPI schema without securitySchemas would crash the page. ( #263 )
2024-03-15 10:27:23 +00:00
Scott Cazan
fc11ffdc8b
Don't try to render responses if none are defined by the user ( #255 )
...
* don't try to parse responses if none are defined
* don't try to render responses if none exists
* move logic back into component
2024-03-13 14:37:21 +01:00
Scott Cazan
658eb4d13f
extra check for undefined in schema.items ( #250 )
2024-03-13 12:24:10 +01:00
Samy Pessé
f41b0c7ba1
Fix crash when resolving ref fails in an OpenAPI file ( #220 )
...
* Fix crash when resolving ref fails in an OpenAPI file
* Use static.gitbook.com for assets prefix
2024-03-06 18:09:34 +01:00