Hi @Onur Fenar ,
I assume that you are trying to achieve that with the Layer7 developer portal's swaggerui.
You can modify the developer portal's frontend using the customization options - modify the javascript function behind the Authorize button and inject your scope there or place an additional input field and use its value.
------------------------------
Regards,
Mesut Yalcin - Senior Solution Engineer
APIIDA AG -
https://www.apiida.com------------------------------
Original Message:
Sent: Jan 27, 2023 04:11 AM
From: Onur Fenar
Subject: How to Define Parametric Scopes within Swagger UI ? API Portal 5.x
Hi All,
We're trying to publish a sample Swagger on API Portal 5.x and we need to pass scope as a parameter during testing through swagger.ui ,
Do you know how to do this ? Since user requests it's own scopes during registration ? we should pass scope as a free text during swagger-ui testin ? is it right ? Attached you can find the screen-shots,
Br,
Onur