Skip to content

Download URL on versions is referring to the main version #855

Closed

Description

@ahelmy

Describe the bug

The export button that downloads the OpenAPI spec on the version switch refers to the main version downloadUrl property.

Expected behavior

Should download the version URL.

Current behavior

Download the main version URL

Possible solution

A downloadUrl property to be added in versions section.

Steps to reproduce

  1. Add a version to versions section.
  2. Add downloadUrl to main version.
  3. Click export and check the URL.

Your Environment

  • Docusaurus = 3.3.2
  • docusaurus-plugin-openapi-docs = 3.0.0-beta.10

Activity

  1. added
    bug
    on Jun 28, 2024
  2. sserrata commented on Jun 28, 2024

    @sserrata
    Member

    Hi @ahelmy, thanks for reporting this issue. If you're up to it, we're happy to accept a PR to address to this issue.

  3. added
    enhancement
    and removed
    bug
    on Jun 28, 2024
  4. ahelmy commented on Jun 28, 2024

    @ahelmy
    ContributorAuthor

    Hi @sserrata ,
    I made my trial here #856
    Thank you

  5. added
    roadmap
    and removed on Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementroadmap

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions