-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Valid RAML 1.0 will not import using Postman >11.0.12 #84
Comments
@mobileskyfi Thanks for reporting the issue! I was also able to reproduce the same. We're looking into the issue and will let you know once we have fix for this. |
Thanks. I forgot to mention that even the RAML spec's website's "hello world" example does not work: So even this does not work:
|
@mobileskyfi Yeah, there's an issue with the detection of data in RAML 1.0 format. For now, you can follow below process to generate a collection as a workaround. I've confirmed that it also generates collection from example definition mentioned by you.
Here's screen share for practical walkthrough. Screen.Recording.2024-05-22.at.9.03.00.PM.mov |
@mobileskyfi This issue has been fixed now with latest app v11.2. Give it a try and let us know if you're still having any further problems with it. |
I have some RAML 1.0 spec that has imported fine in for a while. In BOTH of the 11.1.x builds, the import started failing importing, with popup saying it failed. Tired cut-and-pasting the RAML and using a file.
There is no logs or some specific indicator what might be wrong. The same RAML validates using
raml2html -v
and via the webapi-parser code. e.g.I tried using some JS code with postmanlabs/raml1-to-postman – I don't normally to it this way but it does NOT work either. This generates a seemingly valid JSON file – but the generate Postman JSON is valid AFAIK, but it fails to import in Postman App. e.g.
Anyway tried a few things, but something broke in newer Postman versions, specifically 11.1.x. The last version that worked is 11.0.12. Postman has worked with this scheme for a while (9.x, 10.x, and 11.0.12), so it being a postman error was NOT my right thought. ;). So... I think something broken between those builds on your side.
Attached the problematic RAML file. Renamed to
.txt
to it can be attachedros-rest-tool.raml.txt
The text was updated successfully, but these errors were encountered: