Skip to content

Invalid href Next.js route #631

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ferfleitas opened this issue Apr 11, 2025 · 0 comments
Open

Invalid href Next.js route #631

ferfleitas opened this issue Apr 11, 2025 · 0 comments

Comments

@ferfleitas
Copy link

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"
            ]
          }
        ]
     }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant