Executing any service via the swagger-ui (openapi) page is responding with a 405 status.
I have noticed that with 6.0.3, the metadata page no longer lists the Swagger UI link under the Plugin Links; it was listed using 5.13.2. The url for the swagger-ui works directly in the browser.
The C# breakpoint on the service is not being reached.
Have I missed something with the upgrade?
(Platform is NET6 on Windows 10.)
For example, for one of my simple GET endpoints:
https://localhost:7560/swagger-ui/#/App/GetUserSettingappusersetting_Get
request:
https://localhost:72560/api/app/usersetting
response: (405)
{
"responseStatus": {
"errorCode": "NotImplementedException",
"message": "The operation 'usersetting' does not exist for this service",
"stackTrace": null,
"errors": [],
"meta": null
}
}
Executing the same service directly from the new API Explorer works.
https://localhost:72560/ui/GetUserSetting
Also
https://localhost:72560/api/app/usersetting FAILS as above
https://localhost:72560/api/GetUserSetting WORKS
request:
https://localhost:72560/api/GetUserSetting
response:
{
"offset": 0,
"total": 0,
"results": [
{
"id": "1",
"accountId": "1",
"keyName": "Theme",
"keyValue": "Light",
"description": null,
"rowVersion": 14012
}
],
"meta": {},
"responseStatus": null
}