Forum Discussion

enrique1's avatar
enrique1
Occasional Visitor
2 years ago

Pretty print in swagger-hub

How to I configure swagger-hub so that API responses output as json pretty print ? I read there is a configuration option which is:

httpConfiguration
    .EnableSwagger(c => c.PrettyPrint())
    .EnableSwaggerUi();

but where do I insert that code ? 

No RepliesBe the first to reply