You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
tlmii
changed the title
Make well-known Open API description locations list configurable
Make well-known Open API description locations list more easily configurable
Jul 20, 2020
Two additional preferences, so that the complete set is
swagger.removeFromSearchPaths - pipe-delimited list that removes specific entries from the default list
swagger.addToSearchPaths - pipe-delimited list that adds new entries to the default list
swagger.searchPaths - the existing preference, which we'll document. A pipe-delimited list that overrides the default list (and the other two preferences) altogether.
Right now we have a hard-coded list of well-known URLs to query when looking for the OpenAPI description file:
HttpRepl/src/Microsoft.HttpRepl/ApiConnection.cs
Line 21 in 39f01df
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.
The text was updated successfully, but these errors were encountered: