Closed arcticfly closed 7 months ago
Hello there arcticfly 👋
Thank you for opening your very first issue in this project.
We will try to get back to you as soon as we can.👀
I think this issue is no longer exists @ 6.0.1. I cannot reproduce it.
@WoH please consider close this issue.
The word
length
, if included as part of the enum returned by a route on a controller, prevents the spec from being generated properly.Sorting
I'm submitting a ...
I confirm that I
Expected Behavior
The openapi documentation should have generated as normal.
Current Behavior
No yaml file was generated. Instead, I see the following error:
Possible Solution
Steps to Reproduce
newControllers/basicController.ts:
generate.ts:
tsx generate.ts
Context (Environment)
Version of the library: 5.1.1 Version of NodeJS: 20.3.1
Detailed Description
I'd like to be able to use
length
as a potential enum value and still be able to generate openapi docs.