docs icon indicating copy to clipboard operation
docs copied to clipboard

Invalid href Next.js route

Open ferfleitas opened this issue 6 months ago • 0 comments

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"
            ]
          }
        ]
     }

ferfleitas avatar Apr 11 '25 11:04 ferfleitas