Contributions
Re: Purple text appearing by default in codeblock
kyleshockeyadding moderator to see if you can give a simple advice as in can I add anything in my yaml/json code and then important the json/yaml file to vi editor to see a different color on editor for this text which is currently purple?643Views0likes0CommentsPurple text appearing by default in codeblock
Hello All, when i add code block using```in online editor, it looks ike the folowing right now - Off white box with purple text. We are going to be using the json from online editor to display this swagger documentation on our website. I do not want users to see this purple color. How can I make it appear like how it used to be few year ago with black color code block box and white text in it. All I am trying to show to our users in the description section an example of curl command for a particular api. I don't want this to show in purple text.652Views0likes1CommentCodeblock color and text color changed itself
Hello Guys,untill few days ago on my swagger editor, my codeblock box used to be grey in color and the text was white. However, I checked today and it has changed to purple text with off white/light grey background. Can I revert back to the old school txt box? That looked better with white text.2KViews0likes3CommentsRe: Can "try it out" be disabled/hidden from online editor
Hey buddy I had a quick question. I am confused which one is free. Is swagger UI free to download and host? Currently I was usin swagger editor, but if I want to customize like the try it now which I mentioned, do I need to susbcribe to anything or is swagger UI free. Thanks15KViews0likes2CommentsRe: Can "try it out" be disabled/hidden from online editor
Okay, when you say that i can do it in my own codebase, what exactly you mean? Can you be specific a bit. So basically I can use swagger editor on my own codebase? I thought there was only a yaml/json file behind it. How can I use it with my own codebase. Sorry, bit new to all this and appreciate any help. Regards15KViews1like0CommentsNeed help with "try it now" curl command
Hello everyone, currently I would like my "try it now" feature in my documentation set up in such a way that it displays the following curl command style. Currently our users are used to the following format where they provide source file link(Attribute-file.json) to create a bookmark. Our format. curl -k -H "Content-Type: application/json" -d @Attribute-File.json -X PUT https://myservername:7738/myserver/bookmark/fridaybookmark -H "Accept: application/json" -u sehgalu2 However, when I click execute under "try it now", it gives out the following response only : curl -X PUT "https://fr-s-hpcdm-uat-p.ncifcrf.gov/v2/dataObject/f/download" -H "accept: */*" How can I edit my yaml so that it gives user an option to add that Attributes file as shown in my curl command above. Do i need to add another parameter or how to i achieve this task. Any help would be greatly appreciated. Thanks964Views0likes1Comment