Ask a Question

Pretty print in swagger-hub

enrique1
Occasional Visitor

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 ? 

0 REPLIES 0
cancel
Showing results for 
Search instead for 
Did you mean: