Forum Discussion

yourithielen's avatar
yourithielen
New Member
4 months ago

Path starting with a variable are not displayed correctly

Hi,

I have a few paths in my openapi spec containing a variable {tenantId} (always an integer): 

/{tenantId}/users

I know it's probably not officially supported by openapi, but other tools handle this fine. However, Stoplight renders this as follow:

/users/{tenantId}

I cannot add the {tenantId} to my server url since not all URL need a tenantId.

What can I do? Or is this something Stoplight has to fix?

No RepliesBe the first to reply