cancel
Showing results for 
Search instead for 
Did you mean: 

Changing color for certain description fields on online editor

Contributor

Changing color for certain description fields on online editor

Hello Everyone, I am looking for some help here with font color.

 

 I am using online editor which is basically showing yaml code on the left. Is there any color tag I can add under description for any field so I can change the color of the description for some of the APIs.. 

 

I would appreciate if you guys can help me with this as I am very new to this.

 

Regards. 

2 REPLIES 2

Re: Changing color for certain description fields on online editor

Hey cricketics!

 

Since you're using the online Swagger Editor (presumably at editor.swagger.io), there isn't a way to modify how documentation is displayed or styled - what you see is what you get.

 

However, if you choose to host your own version of Swagger Editor elsewhere, you can add custom CSS to the page to modify the documentation's appearance however you'd like.

Contributor

Re: Changing color for certain description fields on online editor

Hello Kyleshockey, thanks for the response.

 

I read somewhere that the files which come as part of the folder which we download from Github, we can edit one of those to change the template and stuff? Isn't that correct. I am talking abou the dist files. 

 

Thanks. 

New Here?
Join us and watch the welcome video:
Join our online event
SeptemberHubBub
Top Kudoed Authors
Join the September Hub-bub to show off, learn and win