mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-12 05:48:57 +00:00
3a31100efe
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
15 KiB
15 KiB
@gitbook/react-openapi
1.5.15
Patch Changes
7e55cd5: Add an "Available in MCP" badge on OpenAPI operations marked withx-gitbook-mcp: true. Whenx-gitbook-mcp-urlis set (on the operation, path, or root — most specific wins), the badge becomes a button that copies the MCP server URL to the clipboard.- Updated dependencies [
3fedaaa] - Updated dependencies [
7e55cd5]- @gitbook/expr@1.3.1
- @gitbook/openapi-parser@3.0.12
1.5.14
Patch Changes
f4469b2: Support OpenAPI one-operation-per-page mode88b94b5: Handle circular oneOf with discriminator and allOf in OpenAPI schemas
1.5.13
Patch Changes
f158064: Match OpenAPI operation paths regardless of trailing slash- Updated dependencies [
6eabaec]- @gitbook/expr@1.3.0
1.5.12
Patch Changes
- Updated dependencies [
8242f18]- @gitbook/expr@1.2.5
1.5.11
Patch Changes
7f4e644: Small OpenAPI Improvementsb5d6f2e: Fix translation quality across 11 locales9dd2db6: Support x-gitbook-token-placeholder as TryIt prefill fallback for HTTP auth (basic and bearer)c56b569: Support expand-all options for OpenAPI- Updated dependencies [
c56b569]- @gitbook/openapi-parser@3.0.11
1.5.10
Patch Changes
bdc6cd9: Use OpenAPI publicURL as Scalar specUrl8ab419a: Support x-enable-proxy at operation leveleceec6f: Move ~scalar/proxy route to site route group887c3f8: Add token verification on OpenAPI proxy- Updated dependencies [
8ab419a]- @gitbook/openapi-parser@3.0.10
1.5.9
Patch Changes
e074283: Add server-side proxy for Scalar API client to bypass CORS- Updated dependencies [
e074283]- @gitbook/openapi-parser@3.0.9
1.5.8
Patch Changes
1a7ef78: Handle non-array required field in OpenAPI schema to fix TypeError with specs using boolean required values93eea0b: Strip trailing slash from OpenAPI server URLs to avoid double slashes in rendered paths2ebb18d: Make OpenAPI Response structure clearer11d9b80: Use precedence for OpenAPI serversf517035: Remove available scopes list from OAuth2 endpoints when no scopes are required
1.5.7
Patch Changes
e00d1c5: Support code themes customization4e2d863: Fix OpenAPI example not showing3ba9e46: Improve OpenAPI server URL validation717ad0b: Fix Scalar Try it button justification48ca21e: Add OpenAPI 3.1 nullable array support- Updated dependencies [
d3f6c38]- @gitbook/openapi-parser@3.0.8
1.5.6
Patch Changes
bf63045: Compile JSX
1.5.5
Patch Changes
- Updated dependencies [
985c1b4]- @gitbook/openapi-parser@3.0.7
1.5.4
Patch Changes
4766092: Fix missing properties in allOf/oneOf8761cee: Enhance discriminator handling in OpenAPISchema461e15f: Add x-gitbook-prefix and x-gitbook-token-placeholder for OpenAPI security scheme3e40b4d: Fix OpenAPI basic auth placeholder87d68ea: Fix OpenAPI oneOf/allOf merge344842f: Improve OpenAPI circular references- Updated dependencies [
461e15f]- @gitbook/openapi-parser@3.0.6
1.5.3
Patch Changes
b4a021a: Add heredoc support for cURL JSON bodya512c90: Re-arrange OpenAPI Scopes for OAuth2df1966d: Bump Scalarb45feaf: Disable OpenAPI "Try it" when no servers are defined10995e0: Use NPM Trusted publishing for publishing the package.f9f8011: Add alt text support to card covers8ce7322: Add OpenAPI servers selection2c3066e: Improve OAuth2 scopes handling in OpenAPI- Updated dependencies [
df1966d] - Updated dependencies [
10995e0] - Updated dependencies [
10995e0]- @gitbook/openapi-parser@3.0.5
- @gitbook/expr@1.2.4
1.5.2
Patch Changes
6142d6b: Mark as sideEffects, fix all package bundles- Updated dependencies [
6142d6b]- @gitbook/openapi-parser@3.0.4
- @gitbook/expr@1.2.3
1.5.1
Patch Changes
295f03d: Republish packages- Updated dependencies [
295f03d]- @gitbook/expr@1.2.2
- @gitbook/openapi-parser@3.0.3
1.5.0
Minor Changes
529f940: Fix OpenAPISecurities and code sample not using operation security requirements
Patch Changes
eea8f1e: Enhance OpenAPI security scopes handling8e99871: Highlight discriminator properties in oneOf, allOf, anyOf objectsf3e4041: Adapt OpenAPI code samples to prefill API key using visitor data319a1e5: Ensure operation security requirements inherits from spec-level when not defined754cc11: Fix merge logic for allOf alternativesd7948e3: Fix OpenAPI response showing as JSON instead of YAML when it shoulda4c3399: Fix OpenAPI alternatives not showing- Updated dependencies [
a629900]- @gitbook/expr@1.2.1
1.4.3
Patch Changes
- Updated dependencies [
6da3655]- @gitbook/expr@1.2.0
1.4.2
Patch Changes
- Updated dependencies [
3548fa6]- @gitbook/expr@1.1.1
1.4.1
Patch Changes
24f601d: Small optim in resolveTryItPrefillForOperation- Updated dependencies [
e1ff17e] - Updated dependencies [
8ff1e3b]- @gitbook/expr@1.1.0
1.4.0
Minor Changes
12c9d76: Adapt OpenAPI blocks to eval adaptive exprs & prefill TryIt config
Patch Changes
4927e96: Add support for YAML content type in request body/example61b8507: OpenAPI: Make responses without objects clickable98e42cf: Handle OpenAPI ignored responses- Updated dependencies [
12c9d76] - Updated dependencies [
7fefe49] - Updated dependencies [
360aa1c]- @gitbook/openapi-parser@3.0.2
1.3.6
Patch Changes
- Updated dependencies [
42c17f5]- @gitbook/openapi-parser@3.0.1
1.3.5
Patch Changes
- Updated dependencies [
f1a6dec]- @gitbook/openapi-parser@3.0.0
1.3.4
Patch Changes
- Updated dependencies [
b5ad0ce]- @gitbook/openapi-parser@2.2.2
1.3.3
Patch Changes
- Updated dependencies [
1738677]- @gitbook/openapi-parser@2.2.1
1.3.2
Patch Changes
- Updated dependencies [
bd553bc]- @gitbook/openapi-parser@2.2.0
1.3.1
Patch Changes
957afd9: Add authorization header for OAuth27a00880: Improve support for OAuth2 security typea0c06a7: Indent JSON python code sampleb403962: Handle nullish OpenAPI mediaTypeObject1e013cd: Optional label in OpenAPI x-codeSamples4c9a9d0: Handle nested deprecated properties in generateSchemaExample40df91a: Deduplicate path parameters from OpenAPI spec2350baa: Support for OpenAPI Array request body- Updated dependencies [
1e013cd] - Updated dependencies [
4f5cbfe]- @gitbook/openapi-parser@2.1.5
1.3.0
Minor Changes
326e28e: Design tweaks to code blocks and OpenAPI pages
Patch Changes
42ca7e1: Fix openapi CR preview5e975ab: Fix code highlighting for HTTP580101d: Fix schemas disclosure label causing client error20ebecb: Missing top-level required OpenAPI alternatives80cb52a: Handle OpenAPI alternatives from schema.itemscb5598d: Handle invalid OpenAPI Responsesc6637b0: Use default value if string number or boolean in generateSchemaExamplea3ec264: Fix Python code sample "null vs None"- Updated dependencies [
d00dc8c]- @gitbook/openapi-parser@2.1.4
1.2.1
Patch Changes
1.2.0
Minor Changes
d67699a: Add OpenAPI Webhook block
Patch Changes
eeb977f: Fix Python code example for JSON payload3363a18: Merge simple alternatives8ed1bda: Translate OpenAPI blocks7588cfe: Improve OpenAPIResponses examples and schemasad1dc0b: Bump scalar packages
1.1.10
Patch Changes
70c4182: Improve OpenAPI schema style2b6c593: Remove stable from x-stabilitycbd768a: Improve OpenAPI codesample (add OpenAPISelect component)e59076a: Improve OpenAPI schemas block ungrouped style. Classnames have changed, please refer to this PR to update GBX.eedefdd: Handle optional security headers23cedd2: Hide deprecated properties in examples- Updated dependencies [
2b6c593]- @gitbook/openapi-parser@2.1.3
1.1.9
Patch Changes
da7b369: Fix missing headers in OpenAPIResponsesda485f5: Fix read-only in generateSchemaExample139a805: Fix OpenAPI enum display
1.1.8
Patch Changes
7d0b422: Handle grouped OpenAPISchemas
1.1.7
Patch Changes
bd35348: Fix missing alternative schemasae78fc5: Fix XML in code sample7bb37c7: Move filterSelectedOpenAPISchemas to @gitbook/openapi-parser373183a: Safe parse OpenAPI JSON schema1505ddb: Fix multiple request examples selector not showing61db166: Add OpenAPI write-only indicator5b1e01c: Support for x-stability propertycd99ed5: Fix spec properties rendering and missing keys813b2af: Support for x-enumDescriptions and x-gitbook-enuma25fded: Replace $ref with $reference in json-decycle- Updated dependencies [
7bb37c7] - Updated dependencies [
5b1e01c] - Updated dependencies [
813b2af]- @gitbook/openapi-parser@2.1.2
1.1.6
Patch Changes
6eae764: Support body examples7212973: Update scalard2facb2: Mark properties as optional if not required73e2b47: Fix write only properties in request example70be2c6: Stringify default valuefc00b51: Remove default value in generateSchemaExamplea84b06b: Update resolveDescription and add minItems/maxItems- Updated dependencies [
48c18c0] - Updated dependencies [
7212973]- @gitbook/openapi-parser@2.1.1
1.1.5
Patch Changes
886e204: Update OpenAPI operation path design
1.1.4
Patch Changes
c60e9ba: Handle read-only in OpenAPISchemaName31d800e: Render OpenAPISchemas blockff3b708: Remove read-only properties from codesample
1.1.3
Patch Changes
844059f: Fix spacing in OpenAPISecurities
1.1.2
Patch Changes
f127d28: Rename OpenAPIModels to OpenAPISchemas
1.1.1
Patch Changes
f574858: Fix OpenAPI example display error
1.1.0
Minor Changes
bb3ca9c: Implement OpenAPI models blocks
Patch Changes
0278a14: Upgrade Scalar dependencies3173d8e: Remove top level circular refs in alternatives- Updated dependencies [
0278a14] - Updated dependencies [
bb3ca9c] - Updated dependencies [
052e07a]- @gitbook/openapi-parser@2.1.0
1.0.5
Patch Changes
- Updated dependencies [
53f5dbe]- @gitbook/openapi-parser@2.0.2
1.0.4
Patch Changes
722f02e: Fix recursion in OpenAPISchemaAlternative- Updated dependencies [
0924259]- @gitbook/openapi-parser@2.0.1
1.0.3
Patch Changes
dc2dbc5: Update OpenAPI code examples to support multiple content-typef1d1d2f: Return empty string if no server provided05e1d8c: Hide x-gitbook-* symbols in OpenAPI blocksb4a12d6: Fix circularRef in schema + examples OpenAPI9f0de74: Fix ID not set when there is no operation summaryda55fac: Render GitBook blocks in OpenAPI operation description- Updated dependencies [
c808bb1] - Updated dependencies [
e24206e] - Updated dependencies [
a054554] - Updated dependencies [
da55fac]- @gitbook/openapi-parser@2.0.0
1.0.2
Patch Changes
bb5c6a4: Support multiple response media types and examplesa3f1fea: Fix display of OpenAPI header description6157583: Improve Markdown parsing7419ee7: Show additional fields in OpenAPI block82cd9f2: Add support for anchor links in OpenAPI blocks- Updated dependencies [
6157583]- @gitbook/openapi-parser@1.0.1
1.0.1
Patch Changes
f8d4c76: Sync tabs across all OpenAPI blocksdddb4ec: Fix long tab group descriptionf8d4c76: Support for OpenAPI references
1.0.0
Major Changes
-
727bde2: Improve and split OpenAPI parser into its own package -
12c7862: Use@scalar/openapi-parserto be more resilient and perf on OpenAPI spec parsing:fetcher.fetchmust now returns a valid OpenAPI documentparseOpenAPIV3has been replaced byparseOpenAPI
Minor Changes
162b4b7: Add in HTTP example code blockse4e2f52: Add an optional client context to get a callback called when the Scalar client is opened for a block.eb7c22f: Revert scalar to 1.0.87 to mitigate an issue with ApiClientModalProvider160fca1: new OpenAPI blocks designe721f17: Use@scalar/oas-utilsgetExampleFromSchema to generate OpenAPI examplesfe8acc9: Fix an issue where a missing OpenAPI example would crash the page.1823101: Fix internal properties appearing in OpenAPI docs.
Patch Changes
d9029c7: Support apiKey in CodeSample security headers6e54a06: Support response examples0c03676: Better securities sample and headers3e5e458: Handle isArray schema type46edde9: Improve the OpenAPI package APId9c8d57: Do not dereference before caching OpenAPI spec.ccf2cff: Fix an issue where a response object using a special ref would crash the page.dda0cc6: Flatten OpenAPI security objectf92e906: Prevent codemirror from loading multiple versions in scalardff08ae: Improve performances by loading Scalar API Client only when the button is clickedfc7b16f: Updated scalar depdenencya652958: Fix error on unresolvable refs by replacing with property name and any type2f73db7: Support non primitive examples in OpenAPI block160fca1: Support deprecated and x-deprecated-sunset in OpenAPI specb41d425: Improve OpenAPI rendering performances by caching markdown parsing- Updated dependencies [
46edde9] - Updated dependencies [
727bde2]- @gitbook/openapi-parser@1.0.0
0.7.1
Patch Changes
4771c78: Fixed scalar api client routingff50ac2: Bump @scalar/api-client-react version867481c: Support Integers in Response example7ba67fd: bumped the scalar api client dependencya78c1ec: Bumped scalar api client pacakge
0.7.0
Minor Changes
cf3045a: Add Python support in Code Samples4247361: Add required query parameters to the code sampleaa8c49e: Display pattern if available in parmas in OpenAPI blocke914903: Synchronize response and response example tabs4cbcc5b: Rollback of scalar modal while fixing perf issue
Patch Changes
51fa3ab: Adds content-visibility css property to OpenAPI Operation for better render performancef89b31c: Upgrade the scalar api client package094e9cd: bump: scalar from 1.0.5 to 1.0.7237b703: Fix crash whenexampleis undefined for a response51955da: Adds tabs to Response Example section e.g. for status code examplesa679e72: Render mandatory headers in code samplec079c3c: Update Scalar client to latest version
0.6.0
Minor Changes
709f1a1: Update Scalar to the latest version, with faster performances and an improved experience
Patch Changes
ede2335: Fix x-codeSamples: false not working at the single operation level0426312: Fix tabs being empty for code samples when they are updated dynamically
0.5.0
Minor Changes
3445db4: Fix files published in the NPM packages by defining "files" in "package.json"
0.4.0
Minor Changes
24cd72e: Fix changeset CI workflow
0.3.0
Minor Changes
de747b7: Refactor the repository to be a proper monorepo and publish JS files on NPM instead of TypeScript files.
0.3.0
Minor Changes
bd0ca5b: Fix missing react imports
0.2.0
Minor Changes
57adb3e: Second release to fix publishing with changeset
0.1.0
Minor Changes
5f8a8fe: Initial release