Trying to document the implementation of a 'curl' command inside 
description section (indented in description to show highlighted with black 
background)

        curl --request POST --user "{clientId:secret}" --data 
"grant_type=client_credentials&scope=myAPI" 
"https://api.some.host.net/auth/access_token?realm={someRealm}";

Note the ampersand between credentials and scope

This displays correctly in swagger editor but if I generate the client the 
display show & instead of the ampersand.

If I don't 'indent' the text in the description it displays correctly with 
the actual &.  

Is there some way I can get indented text in the description field to 
display the ampersand correctly with codegen?

See attached snippet of output.

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to swagger-swaggersocket+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to