Closed MacFJA closed 10 months ago
Looks reasonable, can you please add the example you provided as a test?
@WoH Sorry for the delay. I added the test, I hope I put it in the right place
Is the PR merged to version 5.1.1? The issue still exists and has not been solved.
Is the PR merged to version 5.1.1? The issue still exists and has not been solved.
Would you like to improve on this PR and address the points I raised during review? Remember to add tests.
This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days
This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days
All Submissions:
This PR solve the issue with Swagger that can't handle
$
schema name.My use case is the following:
TSOA can't use the type
MyModal
which is understandable as one of the key is dynamic. My approach what to create a TSOA specific type like this:With this, TSOA is able to generate the OpenApi file, but the generated schemas are:
With my PR the output will be: