postmanlabs / postman-app-support

Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster.
https://www.postman.com
5.85k stars 841 forks source link

Unable to resolve referenced RAML when importing RAML from a folder #13234

Open mingjiefeng opened 2 weeks ago

mingjiefeng commented 2 weeks ago

Is there an existing issue for this?

Describe the Issue

I was trying to import RAML from a folder. The main RAML under the root of the folder references multiple RAML files under a sub folder, and it seems those referenced RAML files cannot be resolved.

Steps To Reproduce

  1. On Postman App, clicked Import -> Other Sources -> Azure
  2. Completed Azure DevOps authentication and selected the right repo and branch, which is a MuleSoft project repo
  3. Import was successful without errors, but the body of all the POST/PUT APIs shows something like "/datatypes/lead/lead-post-request.raml could not be resolved.". The file datatypes/lead/lead-post-request.raml does exist, and it's referenced in the root RAML like this "types: lead-post-req: !include datatypes/lead/lead-post-request.raml"

Screenshots or Videos

No response

Operating System

Windows

Postman Version

11.18.2

Postman Platform

Postman App

User Account Type

Signed In User

Additional Context?

No response