Fix swagger path.
Resolves:
MODIFY
WalletWasabi.Backend/README.md
WalletWasabi.Backend/README.md
## HTTP
Requests and Responses are JSON.
- Requests have the following format: `/api/v1/{coin}/{controller}/`.
+ Requests have the following format: `/api/v2/{coin}/{controller}/`.
Currently supported coins: `btc`.
- For example requesting fees: `GET /api/v1/btc/offchain/exchange-rates`.
+ For example requesting fees: `GET /api/v2/btc/offchain/exchange-rates`.
### Controller: Blockchain, Coin: BTC

MODIFY
WalletWasabi.Backend/Startup.cs
WalletWasabi.Backend/Startup.cs
@@ -52,7 +52,7 @@ namespace WalletWasabi.Backend
// Enable middleware to serve swagger-ui (HTML, JS, CSS, etc.), specifying the Swagger JSON endpoint.
app.UseSwaggerUI(c =>
{
- c.SwaggerEndpoint("/swagger/v1/swagger.json", "Wasabi Wallet API V1");
+ c.SwaggerEndpoint("/swagger/v2/swagger.json", "Wasabi Wallet API V2");
});
app.UseMvc();

Fix swagger path.
Resolves: https://github.com/zkSNACKs/WalletWasabi/issues/654