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 839 forks source link

Can't import RAML 0.8 File #11604

Closed redhell closed 1 year ago

redhell commented 1 year ago

Is there an existing issue for this?

Describe the Issue

I can't import an RAML 0.8 file to postman

Steps To Reproduce

  1. Open import
  2. Select this file: https://support.smartbear.com/zephyr-scale-server/api-docs/v1/kanoah/api.raml
  3. Click import

Screenshots or Videos

grafik

Operating System

Windows

Postman Version

10.7.

Postman Platform

Postman App

User Account Type

Signed In User

Additional Context?

No response

VShingala commented 1 year ago

@redhell This issue should be fixed with upcoming release of postman coming next month.

However there's also an issue in schema that you've reported where there is invalid type = json present in RAML schema. You can remove this type = json and use string or something else and it should import fine once next app version is available.

VShingala commented 1 year ago

@redhell This issue is now fixed with latest postman app v10.13. With the suggested change in above comment (at line no. 1210 and 1251) in the mentioned file, it's importing as expected now.