redoc icon indicating copy to clipboard operation
redoc copied to clipboard

Add content to right example column that corresponds to additional menu items added via markdown in the description

Open debri174 opened this issue 8 years ago • 7 comments

I have added menu items via markdown in the description. I would like to add content to the right-most example column that corresponds. Is this possible?

image

debri174 avatar Oct 29 '18 17:10 debri174

It is not possible at the moment.

RomanHotsiy avatar Nov 05 '18 13:11 RomanHotsiy

Thanks for your response @RomanGotsiy!

debri174 avatar Nov 05 '18 16:11 debri174

@debri174 I think we have a way to accomplish it in ReDoc Pro which is in private beta right now. Write to [email protected] if you are interested.

RomanHotsiy avatar Nov 05 '18 19:11 RomanHotsiy

@debri174 @RomanGotsiy Is there an example of how you added more items to the menu via markdown? Been looking through the code for a while and can't seem to figure it out.

yocontra avatar Nov 05 '18 20:11 yocontra

@contra here is the example: https://github.com/Rebilly/ReDoc/blob/master/demo/openapi.yaml#L14-L31

RomanHotsiy avatar Nov 05 '18 20:11 RomanHotsiy

@RomanGotsiy Ah that simple - thanks!

yocontra avatar Nov 05 '18 20:11 yocontra

This question was answered.

lornajane avatar Jul 26 '23 10:07 lornajane