Skip to content

Commit

Permalink
Add fixes for rest api version upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
tharikaGitHub committed Mar 15, 2024
1 parent df47529 commit 82728c4
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
<init-param>
<param-name>jaxrs.inInterceptors</param-name>
<param-value>
org.wso2.carbon.apimgt.rest.api.util.interceptors.URLValidationInterceptor(majorVersion=v4 latestVersion=v4.0),
org.wso2.carbon.apimgt.rest.api.util.interceptors.URLValidationInterceptor(majorVersion=v4 latestVersion=v4.1),
org.wso2.carbon.apimgt.rest.api.util.interceptors.auth.TokenMergeInterceptor,
org.wso2.carbon.apimgt.rest.api.util.interceptors.PreAuthenticationInterceptor,
org.wso2.carbon.apimgt.rest.api.util.interceptors.auth.OAuthAuthenticationInterceptor,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
################################################################################
openapi: 3.0.1
info:
version: v0.1
version: v0.2
title: WSO2 API Manager - DevOps
description: |
This document specifies a **RESTful API** for WSO2 **API Manager** - DevOps.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<init-param>
<param-name>jaxrs.inInterceptors</param-name>
<param-value>
org.wso2.carbon.apimgt.rest.api.util.interceptors.URLValidationInterceptor(majorVersion=v2 latestVersion=v2.2),
org.wso2.carbon.apimgt.rest.api.util.interceptors.URLValidationInterceptor(majorVersion=v2 latestVersion=v2.3),
org.wso2.carbon.apimgt.rest.api.util.interceptors.auth.TokenMergeInterceptor,
org.wso2.carbon.apimgt.rest.api.util.interceptors.PreAuthenticationInterceptor,
org.wso2.carbon.apimgt.rest.api.util.interceptors.auth.OAuthAuthenticationInterceptor,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6625,7 +6625,7 @@ paths:
x-code-samples:
- lang: Curl
source: 'curl -k -X POST -H "Authorization: Bearer ae4eae22-3f65-387b-a171-d37eaa366fa8"
"https://127.0.0.1:9443/api/am/publisher/v4/api-products/copy-api-products?newVersion=2.0&defaultVersion=false&apiproductId=2fd14eb8-b828-4013-b448-0739d2e76bf7"'
"https://127.0.0.1:9443/api/am/publisher/v4/api-products/copy-api-products?newVersion=2.0&defaultVersion=false&apiProductId=2fd14eb8-b828-4013-b448-0739d2e76bf7"'
operationId: createNewAPIProductVersion

/api-products/export:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
<init-param>
<param-name>jaxrs.inInterceptors</param-name>
<param-value>
org.wso2.carbon.apimgt.rest.api.util.interceptors.URLValidationInterceptor(majorVersion=v4 latestVersion=v4.0),
org.wso2.carbon.apimgt.rest.api.util.interceptors.URLValidationInterceptor(majorVersion=v4 latestVersion=v4.1),
org.wso2.carbon.apimgt.rest.api.util.interceptors.auth.TokenMergeInterceptor,
org.wso2.carbon.apimgt.rest.api.util.interceptors.PreAuthenticationInterceptor,
org.wso2.carbon.apimgt.rest.api.util.interceptors.auth.OAuthAuthenticationInterceptor,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
<init-param>
<param-name>jaxrs.inInterceptors</param-name>
<param-value>
org.wso2.carbon.apimgt.rest.api.util.interceptors.URLValidationInterceptor(majorVersion=v3 latestVersion=v3.0),
org.wso2.carbon.apimgt.rest.api.util.interceptors.URLValidationInterceptor(majorVersion=v3 latestVersion=v3.1),
org.wso2.carbon.apimgt.rest.api.util.interceptors.auth.TokenMergeInterceptor,
org.wso2.carbon.apimgt.rest.api.util.interceptors.PreAuthenticationInterceptor,
org.wso2.carbon.apimgt.rest.api.util.interceptors.auth.OAuthAuthenticationInterceptor,
Expand Down

0 comments on commit 82728c4

Please sign in to comment.