Skip to content

Swagger UI and openapi.json not available in Vercel Deployments #12

@ifjorissen

Description

@ifjorissen

Check the live demo-- https://nextjs-fastapi-starter.vercel.app/

According to next.config.js, the swagger UI should be at https://nextjs-fastapi-starter.vercel.app/docs, and the openapi.json at https://nextjs-fastapi-starter.vercel.app/openapi.json

However, both of those 404.

Have cloned this project locally & deployed it to vercel and can confirm I see the same behavior.

Any ideas on how to get the swagger ui and openapi.json to route correctly? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions