Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when rendering the Swagger UI when API includes a class that has multiple objects(16) #661

Open
obosralf opened this issue Jul 4, 2024 · 0 comments

Comments

@obosralf
Copy link

obosralf commented Jul 4, 2024

Describe the issue
I'm getting an exception trying to render the Swagger Document when my API includes a class that has multiple objects(16)

OpenApiResponseWithBody(HttpStatusCode.OK, "application/json", typeof()

To Reproduce
Steps to reproduce the behavior:

  1. Use Visual Studio to create a new Azure Functions app with Open API Support
  2. Add a "Dto" class with many objects (16)
  3. try to run the Swagger UI
  4. See error

Expected behavior
I expect it not to throw an error and render the swagger ui

Screenshots
image

Environment (please complete the following information, if applicable):

  • OS: Windows 11
  • Edge
  • Version 126.0.2592.81

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant