Forum Discussion

samjam's avatar
samjam
New Contributor
2 years ago

Can I format OpenAPI schema properties table

Hello. I am trying to edit the api documentation that someone created with openAPI and I'm struggling to fix the properties table. 

 

Properties

Name

TypeRequiredRestrictionsDescription
name-examplestringfalsenonename description

 

My Properties table looks something like this, but because some names are quite long, they run into the Type and cause overlap. I am unsure how to avoid this. Is there a way to format this properties table to not overlap text ? Thanks for any help

1 Reply

  • Hey samjam 

     

    The tables being rendered are markdown and/or HTML. The only way I can see fixing that is to add custom CSS, and that would only work well for an instance of Swagger UI that you host yourself. 

    But not much you can do from the OpenAPI file directly.