Open
Description
Describe the bug
When using the Sample.Datasync.Server and setting the swagger generator to net9, the following swagger document is generated:
{
"openapi": "3.0.1",
"info": {
"title": "Sample.Datasync.Server | v1",
"version": "1.0.0"
},
"servers": [
{
"url": "https://localhost:5001"
}
],
"paths": { },
"components": { }
}
This is obviously wrong.
To Reproduce
Steps to reproduce the behavior:
- Open the Sample.Datasync.Server solution
- Press F5
- Point browser at https://localhost:5001/swagger/v1/swagger/json
Expected behavior
I'd expect a correct swagger document to be displayed.
What platforms?
- Server:
- Version of dotnet being used to compile? 9.0.2
- Library versions?
- CommunityToolkit.Datasync.Server v9.0.1
- EntityFrameworkCore v9.0.2
- What database are you using?
- SQL LocalDB
- Where are you running the server?
- Locally