swagger-api / swagger-api/swagger-ui
Could not render Dt
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 29k
- Forks
- 9.3k
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 25
Description
Is there an existing issue for this?
- I have searched the existing issues
Current behavior
current Error

Controller

Dto

Minimum reproduction code
https://github.com/koreanddinghwan/nest
Steps to reproduce
i think this error caused by examples property of ApiProperty.
when i use example property instead of examples, it worked properly
Expected behavior
change examples into example


then, work properly

Package version
6.1.4
NestJS version
9.0.0
Node.js version
18.13.0
In which operating systems have you tested?
- macOS
- Windows
- Linux
Other
console error logs

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the linked minimum reproduction repository with the reported Swagger UI, NestJS, and Node.js versions. Compare the rendering and console error when ApiProperty uses examples versus example, then verify that the DTO renders correctly without the reported error. The issue is open with no recent response, so confirm the behavior still exists before starting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js, openapi
- Domain
- documentation, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100