You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it seems that only scheme name is retrieved, and the actual list of scopes is ignored, i.e. all scopes are used for operation. The following code is then generated
@GET@Path("/findByStatus")
@Produces({ "application/json", "application/xml" })
@Operation(summary = "Finds Pets by status", description = "Multiple status values can be provided with comma separated strings", security = {
@SecurityRequirement(name = "petstore_auth", scopes = {
"write:pets",
"read:pets" }) }, tags={ "pet" })
even if the list of scopes is reduced e.g. to
security:
- petstore_auth:
- read:pets
Tested with swagger editor example and downloading code as jaxrs-jersey server code.
The text was updated successfully, but these errors were encountered:
Discussed in #12428
In the following settings of an operation:
it seems that only scheme name is retrieved, and the actual list of scopes is ignored, i.e. all scopes are used for operation. The following code is then generated
even if the list of scopes is reduced e.g. to
Tested with swagger editor example and downloading code as jaxrs-jersey server code.
The text was updated successfully, but these errors were encountered: