From 5f7b436930209af033ccb260d6b883cfed286301 Mon Sep 17 00:00:00 2001 From: ashirwadadayarathne Date: Mon, 3 Feb 2025 12:28:13 +0530 Subject: [PATCH 1/2] Removing application_type and response_type from DCR API model --- .../endpoint/dto/RegistrationRequestDTO.java | 23 ------------------- 1 file changed, 23 deletions(-) diff --git a/components/org.wso2.carbon.identity.api.server.dcr/src/gen/java/org/wso2/carbon/identity/oauth2/dcr/endpoint/dto/RegistrationRequestDTO.java b/components/org.wso2.carbon.identity.api.server.dcr/src/gen/java/org/wso2/carbon/identity/oauth2/dcr/endpoint/dto/RegistrationRequestDTO.java index 2e50a0d356e..9af7f6cc45d 100644 --- a/components/org.wso2.carbon.identity.api.server.dcr/src/gen/java/org/wso2/carbon/identity/oauth2/dcr/endpoint/dto/RegistrationRequestDTO.java +++ b/components/org.wso2.carbon.identity.api.server.dcr/src/gen/java/org/wso2/carbon/identity/oauth2/dcr/endpoint/dto/RegistrationRequestDTO.java @@ -23,7 +23,6 @@ public class RegistrationRequestDTO { @NotNull private String clientName = null; private List grantTypes = new ArrayList<>(); - private String applicationType = null; private String jwksUri = null; private String url = null; private String clientId = null; @@ -31,7 +30,6 @@ public class RegistrationRequestDTO { private List contacts = new ArrayList<>(); private List postLogoutRedirectUris = new ArrayList<>(); private List requestUris = new ArrayList<>(); - private List responseTypes = new ArrayList<>(); private String tokenType = null; private String spTemplateName = null; private String backchannelLogoutUri = null; @@ -93,15 +91,6 @@ public void setGrantTypes(List grantTypes) { this.grantTypes = grantTypes; } - @ApiModelProperty - @JsonProperty("application_type") - public String getApplicationType() { - return applicationType; - } - public void setApplicationType(String applicationType) { - this.applicationType = applicationType; - } - @ApiModelProperty @JsonProperty("jwks_uri") public String getJwksUri() { @@ -172,16 +161,6 @@ public void setRequestUris(List requestUris) { this.requestUris = requestUris; } - @ApiModelProperty - @JsonProperty("response_types") - public List getResponseTypes() { - return responseTypes; - } - - public void setResponseTypes(List responseTypes) { - this.responseTypes = responseTypes; - } - @ApiModelProperty @JsonProperty("token_type_extension") public String getTokenType() { @@ -505,7 +484,6 @@ public String toString() { sb.append(" redirect_uris: ").append(redirectUris).append("\n"); sb.append(" client_name: ").append(clientName).append("\n"); sb.append(" grant_types: ").append(grantTypes).append("\n"); - sb.append(" application_type: ").append(applicationType).append("\n"); sb.append(" jwks_uri: ").append(jwksUri).append("\n"); sb.append(" url: ").append(url).append("\n"); sb.append(" ext_param_client_id: ").append(clientId).append("\n"); @@ -513,7 +491,6 @@ public String toString() { sb.append(" contacts: ").append(contacts).append("\n"); sb.append(" post_logout_redirect_uris: ").append(postLogoutRedirectUris).append("\n"); sb.append(" request_uris: ").append(requestUris).append("\n"); - sb.append(" response_types: ").append(responseTypes).append("\n"); sb.append(" token_type_extension: ").append(tokenType).append("\n"); sb.append(" ext_param_sp_template: ").append(spTemplateName).append("\n"); sb.append(" backchannel_logout_uri: ").append(backchannelLogoutUri).append("\n"); From 34a78a27f44ae4e31d646f42134721a910fa2004 Mon Sep 17 00:00:00 2001 From: ashirwadadayarathne Date: Mon, 3 Feb 2025 13:48:32 +0530 Subject: [PATCH 2/2] Removing application_type and response_type from DCR API model --- .../src/main/resources/api.identity.oauth.dcr.endpoint.yaml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/components/org.wso2.carbon.identity.api.server.dcr/src/main/resources/api.identity.oauth.dcr.endpoint.yaml b/components/org.wso2.carbon.identity.api.server.dcr/src/main/resources/api.identity.oauth.dcr.endpoint.yaml index 9165667800d..5d0c4686c11 100644 --- a/components/org.wso2.carbon.identity.api.server.dcr/src/main/resources/api.identity.oauth.dcr.endpoint.yaml +++ b/components/org.wso2.carbon.identity.api.server.dcr/src/main/resources/api.identity.oauth.dcr.endpoint.yaml @@ -274,8 +274,6 @@ definitions: type: array items: type: string - application_type: - type: string jwks_uri: type: string url: @@ -296,10 +294,6 @@ definitions: type: array items: type: string - response_types: - type: array - items: - type: string ext_param_sp_template: type: string backchannel_logout_uri: