Adds middleware to your express app to serve the Swagger UI bound to your Swagger document. This acts as living documentation for your API hosted from within your app.
MIT License
1.4k
stars
225
forks
source link
Is there a way to swap input fields on select of enum drop down #331
I am using swagger with Nest JS application and I have a requirement where I need to use the same endpoint to patch different columns of the same table, with this requirement I provide the enum drop down with the column value the user wants to edit but the input field which should take in the value to be edited needs to change based on the selected value from the drop down. Thanks in advance.
I am using swagger with Nest JS application and I have a requirement where I need to use the same endpoint to patch different columns of the same table, with this requirement I provide the enum drop down with the column value the user wants to edit but the input field which should take in the value to be edited needs to change based on the selected value from the drop down. Thanks in advance.
Config / setup: swagger-ui-express - 4.1.6 @nestjs/swagger - 5.0.9