mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-17 16:15:22 +00:00
938125e772
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
8.6 KiB
8.6 KiB
@gitbook/react-openapi
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