Forum Discussion
a_welch (Staff) [01/20/2023 - 17:10 ET]
@HHChift Thank you for reaching out. I did some digging on this and if you look at the code view of your API you will see there is a Summary and an OperationID. The slug is referencing the Summary of the API spec not the OperationID. Here is an example to show you the 2 rows, Summary at the top and OperationID at the bottom:
get:
summary: Get User Info by User ID
tags:
- users
responses:
'200':
description: User Found
content:
application/json:
schema:
$ref: '#/components/schemas/User'
examples:
Get User Alice Smith:
value:
id: 142
firstName: Alice
lastName: Smith
email: alice.smith@gmail.com
dateOfBirth: '1997-10-31'
emailVerified: true
signUpDate: '2019-08-24'
'404':
description: User Not Found
operationId: get-users-userId
I hope that helps clarify this for you!
- Stoplight3 months agoCommunity Manager
HHChift (OP) [01/26/2023 - 11:29 ET]
Hey @a_welch Thanks for your response. I'm not sure I follow completely our answer.
The route to this page in Stoplight is ending as follows: api/operations/list-consumers
It does not match with the operationId neither with the summary. We would like to be able to open the link to the documentation based on the openApi spec.
Related Content
Recent Discussions
- 8 days agomhofrichter
- 13 days agotolparow
- 2 months agoraja_masanam