Skip to content

Invalid href Next.js route #631

@ferfleitas

Description

@ferfleitas

When I use mintlify on windows and try to config the autopopulate openapi specs I get the following error:
Invalid href 'C:\api-reference\pet\update-an-existing-pet' passed to next/router
I think that the routes handler isnt working properly or I just make a mistake, but I don't see anything wrong in trying to pass my open api spec directly to the docs.js. Thank you.

{
        "tab": "API Reference",
        "openapi": "https://petstore3.swagger.io/api/v3/openapi.json",
        "groups": [
          {
            "group": "API Documentation",
            "pages": [
              "api-reference/introduction"
            ]
          }
        ]
     }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions