Skip to content

Releases: HiDeoo/starlight-openapi

[email protected]

06 Mar 10:49
34c07e1
Compare
Choose a tag to compare

Patch Changes

  • #83 dc88650 Thanks @HiDeoo! - Ensures property titles are rendered when provided in a schema.

[email protected]

03 Mar 08:53
a99efe3
Compare
Choose a tag to compare

Minor Changes

  • #80 d6175bc Thanks @HiDeoo! - Adds a new sidebar.operations.sort configuration option to configure the sorting method for the operation sidebar links.

    The current behavior to sort the operation sidebar links in the order they appear in the OpenAPI document is preserved by default. Setting this option to 'alphabetical' will sort the operation sidebar links alphabetically.

  • #80 d6175bc Thanks @HiDeoo! - Deprecates the sidebar label, collapsed, and sidebarMethodBadges options in favor of a new sidebar option object.

    The previous options are still supported for backward compatibility, but they will be removed in a future release.

    starlightOpenAPI([
      {
        base: 'api',
        schema: '../schemas/api-schema.yaml',
    -   label: 'My API',
    -   collapsed: false,
    -   sidebarMethodBadges: true,
    +   sidebar: {
    +     label: 'My API',
    +     collapsed: false,
    +     operations: { badges: true },
    +   },
      },
    ])
  • #80 d6175bc Thanks @HiDeoo! - Adds a new sidebar.tags.sort configuration option to configure the sorting method for the tag sidebar groups.

    The current behavior to sort the tag sidebar groups in the order they appear in the OpenAPI document is preserved by default. Setting this option to 'alphabetical' will sort the tag sidebar groups alphabetically.

  • #80 d6175bc Thanks @HiDeoo! - Adds a new sidebar.operations.labels configuration option to define whether the operation sidebar labels should use the operation ID or summary.

    The current behavior to use the operation summary and fall back to the operation ID if no summary is provided is preserved by default. Setting this option to 'operationId' will always use the operation ID as the operation sidebar label.

Patch Changes

[email protected]

17 Feb 11:32
47253fa
Compare
Choose a tag to compare

Minor Changes

  • #75 52dd833 Thanks @HiDeoo! - ⚠️ BREAKING CHANGE: The minimum supported version of Starlight is now version 0.32.0.

    Please use the @astrojs/upgrade command to upgrade your project:

    npx @astrojs/upgrade

[email protected]

11 Feb 10:43
0f7b91b
Compare
Choose a tag to compare

Patch Changes

  • #73 beeb586 Thanks @HiDeoo! - Adds astro as a peer dependency to prevent potential build errors in monorepos with hoisting disabled.

[email protected]

01 Feb 14:01
a6e0980
Compare
Choose a tag to compare

Minor Changes

[email protected]

30 Jan 10:03
cffb3c1
Compare
Choose a tag to compare

Minor Changes

[email protected]

08 Jan 14:16
bf7951a
Compare
Choose a tag to compare

Minor Changes

  • #63 b19e249 Thanks @HiDeoo! - Adds overview pages for operations grouped by tags defined with a description or externalDocs fields displaying the tag's information.

[email protected]

17 Dec 09:27
0423001
Compare
Choose a tag to compare

Minor Changes

  • #58 f91f2f4 Thanks @HiDeoo! - Adds support for Astro v5, drops support for Astro v4.

    ⚠️ BREAKING CHANGE: The minimum supported version of Starlight is now 0.30.0.

    Please follow the upgrade guide to update your project.

v0.8.3

27 Nov 10:15
v0.8.3
b7fd09e
Compare
Choose a tag to compare

   🐞 Bug Fixes

    View changes on GitHub

v0.8.2

25 Nov 15:25
v0.8.2
d6296e7
Compare
Choose a tag to compare

   🐞 Bug Fixes

  • Fixes an issue where model definitions using oneOf or anyOf could be ignored when combined using the allOf keyword  -  by @HiDeoo (4ae04)
    View changes on GitHub