snehak
3 years agoVisitor
customize syntaxHighlight for a single endpoint rather than whole json file
HI Team,
I have large amounts of data being loaded in swagger response, so I have set the syntaxHighlight property in SwaggerUI to false. Its now loading huge amounts of data faster than usual. BUt the problem is syntaxHighlight was turned off for all the endpoints. I tried to only apply syntaxHighlight to one endpoint but could not get it to work. I am now looking at custom attributes to ignore the syntaxHighlight property for specific endpoints, but I dont see any filters to override this functionality for just one endpoint.
Question is do we have any work around for this? is it possible to apply or ignore syntaxHighlight to only specific endpoints.?
Thank you!