Skip to content
This repository was archived by the owner on Jan 21, 2026. It is now read-only.
This repository was archived by the owner on Jan 21, 2026. It is now read-only.

Make well-known Open API description locations list more easily configurable #360

@tlmii

Description

@tlmii

Right now we have a hard-coded list of well-known URLs to query when looking for the OpenAPI description file:

private const string SwaggerSearchPaths = "swagger.json|swagger/v1/swagger.json|openapi.json|/swagger.json|/swagger/v1/swagger.json|/openapi.json";

We also have a(n undocumented) preference the user can set - swagger.searchPaths - to override the defaults completely.

It would be nice to allow the user to add entries to the list if they have a common pattern they use/see/like without blowing away the existing list (or needing to type it all back in). It might also be nice to allow them to remove entries from the list if they know they'll never encounter them to prevent extra network traffic when trying to connect. Same thing could go for just reordering them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    5.0-dashPotential final items for 5.0enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions