Skip to content

Commit

Permalink
Enhance template creation to include api methods and inbound per meth…
Browse files Browse the repository at this point in the history
…od override
  • Loading branch information
rathnapandi committed Nov 22, 2024
1 parent 53f6737 commit 96007df
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -345,10 +345,10 @@ public SecurityProfile createPassThroughSecurityProfile() {

public SecurityProfile createOauthSecurityProfile(String operationId, List<String> scopes) {
SecurityProfile profile = new SecurityProfile();
profile.setName("Oauth2");
profile.setName("Oauth2 " + operationId);
profile.setIsDefault(false);
SecurityDevice securityDevice = new SecurityDevice();
securityDevice.setName("Oauth2 " + operationId);
securityDevice.setName("Oauth2");
securityDevice.setType(DeviceType.oauth);
securityDevice.setOrder(0);
Map<String, String> properties = new HashMap<>();
Expand Down

0 comments on commit 96007df

Please sign in to comment.