Closed bigen1925 closed 9 months ago
Hello there bigen1925 👋
Thank you for opening your very first issue in this project.
We will try to get back to you as soon as we can.👀
This is relevant to #1468
Can you check with tsoa@next? This should be solved
@WoH
I confirmed this is solved in tsoa@next
!
Thank you so much!
Key of schema with
$
is generated when$
is in type name, but$
is invalid in schema name.refs) https://swagger.io/specification/#:~:text=All%20the%20fixed%20fields%20declared%20above%20are%20objects%20that%20MUST%20use%20keys%20that%20match%20the%20regular%20expression%3A%20%5E%5Ba%2DzA%2DZ0%2D9%5C.%5C%2D_%5D%2B%24.
Sorting
I'm submitting a ...
I confirm that I
Expected Behavior
$
(the only character that can be used in ES identifier and invalid in openapi key ) should be replaced with_
or.
or-
When type definition is
, generated spec is expected like
Current Behavior
When type definition is
, generated spec is
Possible Solution
replace
$
Steps to Reproduce
https://github.com/bigen1925/tsoa-schema-key-with-dollar
Context (Environment)
Version of the library: 6.0.0-rc.4 Version of NodeJS: v18.15.0
Detailed Description
nothing
Breaking change?
may be NO.