SSWConsulting / SSW.CleanArchitecture

SSW Clean Architecture Template
https://sswconsulting.github.io/SSW.CleanArchitecture/
MIT License
124 stars 24 forks source link

Replace NSwag with .NET 9 Open API and Scalar #383

Closed danielmackay closed 1 month ago

danielmackay commented 1 month ago

.NET 9 now has OOTB support for generating an Open API spec. What it does not provide though is a UI.

Acceptance Criteria

  1. Built in .NET functionality to generate Open API Spec
  2. Replace NSwag UI with Scalar
  3. C# should be the default REST Client snippet
  4. Confirm UI works well
  5. Open API Spec can be generated dynamically (i.e. doesn't need to be at build time)
  6. Create ADR to document change

Dev Notes

danielmackay commented 1 month ago

Reopening issue as ADR still needs to be added