.NET 9 OpenAPI - Part 2 now finally working in .NET 9

preview_player
Показать описание
.NET 9 OpenAPI - Part 2

Links:

What I show here in short:
- Going from a new template to a full solution.
- Still using Swagger as the UI.
- Using OAuth2 authorization.
- Build-time generation of JSON.
- Linting your JSON.
- Generating Operation IDs.
- Generating XML-file based endpoint docs.
- Problems detected with the new packages on schema generation.

[00:00:00] Intro
[00:01:25] Presentation
[00:03:25] The new project template
[00:07:28] Starting to customize
[00:14:51] Apply API versionning with Swagger UI
[00:28:31] OpenAPI Document Transformer: Metadata
[00:34:37] OpenAPI Document Transformer: Security Schemes
[00:40:05] User secrets and Swagger Auth Button back
[00:45:00] OpenAPI Operation Transformer: Security Schemes with endpoint metadata
[01:00:00] OpenAPI Operation Transformer: Operation Ids and spectral linting
[01:12:05] VS restart because mouse pointer frozen 😒
[01:12:25] OpenAPI Operation Transformer: XML-file-based descriptions and summaries
[01:23:02] A current limitation: Problems with schemas and inheritance
[01:25:03] Outro
Рекомендации по теме
join shbcf.ru