[Bug]: duplicate and widening of allowed options

Author: danjeeCreated Jun 15, 2026Updated Jun 22, 2026
LabelsBugbacklog

Description of the problem/issue

The documentation that is generated exposes entire enum values and not just allowed values.

Affected Version

e.g. 2.2.51 - but this occurs even in older versions like 2.2.9

Earliest version the bug appears in (if known):
e.g. < 2.2.9

Steps to Reproduce

Checklist

  • I have searched the existing issues and this is not a duplicate.
  • I have provided sufficient information for maintainers to reproduce the issue.

Source: swagger-api/swagger-core