SteveDunn / Vogen

A semi-opinionated library which is a source generator and a code analyser. It Source generates Value Objects
Apache License 2.0
887 stars 46 forks source link

AspNetCore.OpenApi support #704

Open CheloXL opened 1 week ago

CheloXL commented 1 week ago

Describe the feature

Now that .net 9 is out and Swashbuckle was removed, it would be nice to have support for the new AspNetCore.OpenApi.

SteveDunn commented 5 days ago

Hi @CheloXL - this should already be supported https://stevedunn.github.io/Vogen/use-in-swagger.html

Please let me know if there's anything missing

CheloXL commented 4 days ago

Yes, but no, but yes, but no. SwaggerOptions is swagger specific. In .net 9, swagger doesn't exist anymore (of course you can still use it, but I would prefer to migrate to the native support). So, this feature request is to use .net 9 specific open api support.

SteveDunn commented 3 days ago

I see, good point! Thanks for the feedback.