swagger error “Uncaught RangeError: Invalid string length” in mvc angularjs mix project
问题 I have a project in mvc5 and anguarjs mix and here I am trying to add swagger I had installed the latest Swashbuckle and tried this API which is working http://localhost:6790/swagger/docs/v1 and I could say that my json is valid and checked on https://editor.swagger.io but when I tied this on http://localhost:6790/swagger/ui/index (view) this shows error Uncaught RangeError: Invalid string length at JSON.stringify (<anonymous>) at t.exports.u.getModelSampleJSON (swagger-ui-min-js:formatted