wso2 / apk

Official Repository for APK distribution
Apache License 2.0
153 stars 91 forks source link

Unable to attach different scopes for different resources using config ds #2340

Closed Tharsanan1 closed 4 months ago

Tharsanan1 commented 5 months ago

Description: try the following conf file and check the created crs. only one scope cr is created


---
name: "Platform API"
basePath: "/UGxhdGZvcm0gQVBJMS4xLjA"
version: "1.1.0"
type: "REST"
defaultVersion: false
subscriptionValidation: false
endpointConfigurations:
  production:
    endpoint: "https://rest.ably.io"
operations:
- target: "/channels"
  verb: "GET"
  secured: true
  scopes: ["scope1"]
- target: "/channels/{channel_id}"
  verb: "GET"
  secured: true
  scopes: ["scope2"]