[Bug]: @typespec/openapi3 - TypeError: Cannot read properties of undefined (reading 'add') #4272
Closed
4 tasks done
Labels
bug
Something isn't working
emitter:openapi3
Issues for @typespec/openapi3 emitter
needs-area
triaged:core
Milestone
Describe the bug
The following will crash the compiler:
With this output:
Reproduction
https://typespec.io/playground?c=aW1wb3J0ICJAdHlwZXNwZWMvaHR0cCI7Cgp1c2luZyBUeXBlU3BlYy5IdHRwOwoKQHNlcnZpY2Uoe3RpdGxlOiAidGVzdCJ9KQpAdXNlQXV0aChUZXN0TW9kZWwpCm5hbWVzcGFjZSDEFU7JDnsKICAgIG9wIGNhbGwoKTogdm9pZDsKfQoKbcQ5xS7FQyB7fQ%3D%3D&e=%40typespec%2Fopenapi3&options=%7B%7D
Checklist
The text was updated successfully, but these errors were encountered: