dotnet / dotnet/aspnetcore

OpenApi doc is not generated at build time

Open
#61,471 0 comments 0 reactions 0 assignees View on GitHub
area-minimal feature-openapi
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 10h
Merged PRs (30d)
281

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Describe the bug

The Open API document is not generated at build time, when NSwag.AspNetCore package is included in project. This is exactly the same as https://github.com/dotnet/aspnetcore/issues/59434, with the same steps to reproduce.

### Expected Behavior

_No response_

### Steps To Reproduce

_No response_

### Exceptions (if any)

_No response_

### .NET Version

9.0.203

### Anything else?

NSwag support is required, since I might want to use SwaggerUI, Redoc, or any number of other features based on the generated specification.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.