We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$
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.
I'm submitting a ...
I confirm that I
$ (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
type $DollarType = string;
, generated spec is expected like
{ "components": { "schemas": { "_DollarType": { "type": "string" } } } }
, generated spec is
{ "components": { "schemas": { "$DollarType": { "type": "string" } } } }
replace $
https://github.com/bigen1925/tsoa-schema-key-with-dollar
Version of the library: 6.0.0-rc.4 Version of NodeJS: v18.15.0
nothing
may be NO.
The text was updated successfully, but these errors were encountered:
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.👀
Sorry, something went wrong.
This is relevant to #1468
Can you check with tsoa@next? This should be solved
@WoH I confirmed this is solved in tsoa@next !
tsoa@next
Thank you so much!
No branches or pull requests
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.
The text was updated successfully, but these errors were encountered: