How can I configure swagger-ui to emit camelcase json variables instead of underscores when using with ServiceStack? -


i using servicestack.api.swagger. working , can see api docs fine. have configured servicestack emit camel case name jsconfig.emitcamelcasenames = true; , servicestack emitting variables expected (e.g trainstation). when view request/response schemas in swagger output/screen, of variables servicestack emits camel case displayed underscore separator (e.g. train-station). there way configure swagger-ui emit camel case instead of underscores? or, configure servicestack , swagger-ui consistent?

there properties on swaggerfeature class. in apphost, after configuring jsconfig:

plugins.add(new swaggerfeature {     usecamelcasemodelpropertynames = jsconfig.emitcamelcasenames }); 

Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -