Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

How to use Swagger and return 404 for unknown API urls #1119

Closed
@ysazak

Description

@ysazak

How can I use swagger with this template? When I implement swagger, the swagger page is redirected to home page due to SpaFallbackRoute.

Also, when unknown api url (for example; api/xyz) is called, it redirects to home page. I would like to return 404

Thanks for your help

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