microsoft / vscode-apimanagement

VS Code extension for Azure API Management.
MIT License
60 stars 40 forks source link

Policy size exceeds allowed limit of 250 KB #230

Open yangzhiminyy opened 2 years ago

yangzhiminyy commented 2 years ago

Does this occur consistently? Yes Repro steps:

  1. Create APIs from WSDL. Select import method as SOAP to REST
  2. Edit inbound policy in order to add mock response

Action: azureApiManagement.operationPolicyEditor.onDidSaveTextDocument Error type: Error Error Message: Error: "ValidationError" - "Policy size exceeds allowed limit of 250 KB"

Version: 1.0.3 OS: win32 OS Release: 10.0.19042 Product: Visual Studio Code Product Version: 1.63.2 Language: en

Call Stack ``` OperationPolicyEditor. extension.bundle.js:16:355137 rejected extension.bundle.js:16:353768 processTicksAndRejections task_queues.js:93:5 ```