OpenAPI & .NET: You're Doing It Wrong - Mark Rendle - NDC Oslo 2023

NDC Conferences July 13, 2023
Video Thumbnail
NDC Conferences Logo

NDC Conferences

View Channel

About

NDC Conferences aims to find the greatest minds and leaders in the field of software development, striving to make the best and most updated knowledge available to developers everywhere. Join these innovative speakers on our YouTube channel and at our year-round conferences in Oslo, London, Porto, Copenhagen and Sydney! We hope to see you in person at our live events:
 https://ndcoslo.com/ 
 https://ndclondon.com/ https://ndcporto.com/ https://cphdevfest.com/ https://ndcsydney.com/

Video Description

.NET developers have two options when it comes to OpenAPI or Swagger: Swashbuckle and NSwag. Just decorate your controllers or minimal API endpoints with a bunch of attributes and a NuGet package will generate the swagger.json file for you, right? No. Wrong. That's not how this is supposed to work. In this talk, Mark will try to convince you that the correct way to implement OpenAPI is to write and maintain that file manually. Probably as YAML instead of JSON. That way it's included in your version control history, you can use it to generate Markdown docs in a GitHub action, and people don't need to run your app to get a copy of the file. Mark is working on some new NuGet packages that will provide some pretty neat functionality for static OpenAPI files, including serving SwaggerUI and beautiful documentation with code samples, generating application and test stubs, validating your implementation against the spec, and more. Check out our new channel: NDC Clips: @ndcclips Check out more of our featured speakers and talks at https://ndcconferences.com/ https://ndcoslo.com/

You May Also Like

No Recommendations Found

No products were found for the selected channel.