Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/damienbod/webapiopenapi
.NET 9 Open API in ASP.NET Core
https://github.com/damienbod/webapiopenapi
api aspnetcore dotnet jwt net9 oauth openapi
Last synced: 9 days ago
JSON representation
.NET 9 Open API in ASP.NET Core
- Host: GitHub
- URL: https://github.com/damienbod/webapiopenapi
- Owner: damienbod
- License: mit
- Created: 2024-08-02T05:55:04.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-10-21T07:43:07.000Z (26 days ago)
- Last Synced: 2024-11-07T08:03:32.805Z (9 days ago)
- Topics: api, aspnetcore, dotnet, jwt, net9, oauth, openapi
- Language: C#
- Homepage: https://damienbod.com/2024/08/06/implementing-an-asp-net-core-api-with-net-9-and-openapi/
- Size: 121 KB
- Stars: 7
- Watchers: 1
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ASP.NET Core API using OpenAPI
Blogs:
[Implementing an ASP.NET Core API with .NET 9 and OpenAPI](https://damienbod.com/2024/08/06/implementing-an-asp-net-core-api-with-net-9-and-openapi/)
[Add a Swagger UI using a .NET 9 Json OpenAPI file](https://damienbod.com/2024/08/12/add-a-swagger-ui-using-a-net-9-json-openapi-file/)
[Implement security headers for an API supporting OpenAPI Swagger UI](https://damienbod.com/2024/10/21/implement-security-headers-for-an-api-supporting-openapi-swagger-ui/)
### Nuget package for OpenAPI
```
Install-Package Microsoft.AspNetCore.OpenApi -IncludePrerelease
```## History
- 2024-10-20 Improve security, API policy per default
- 2024-10-17 Improve security headers
- 2024-10-12 Updated to .NET 9 RC2
- 2024-09-12 Updated to .NET 9 RC1
- 2024-08-13 Updated to .NET 9 Preview 7## Example of OpenAPI with minimal APIs
https://github.com/martincostello/dotnet-minimal-api-integration-testing
## Links
https://learn.microsoft.com/en-us/aspnet/core/fundamentals/minimal-apis/aspnetcore-openapi
https://learn.microsoft.com/en-us/aspnet/core/web-api/action-return-types
https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9/nuget/v3/index.json
https://github.com/RicoSuter/NSwag
https://damienbod.com/2021/08/30/improving-application-security-in-an-asp-net-core-api-using-http-headers-part-3/
https://swagger.io/
https://swagger.io/specification/
https://github.com/martincostello/aspnetcore-openapi
https://github.com/mikekistler/aspnet-openapi-examples
https://andrewlock.net/major-updates-to-netescapades-aspnetcore-security-headers/