Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

Library references cannot be chained #58

Open
moodmosaic opened this issue Jul 4, 2019 · 2 comments
Open

Library references cannot be chained #58

moodmosaic opened this issue Jul 4, 2019 · 2 comments

Comments

@moodmosaic
Copy link

I'm not sure if this is a bug, but I'm trying to convert from Swagger (OAS 2.0) to RAML and get error(s):

image

The error is:

Invalid type expression syntax: "My.Custom.Type". Caused by : Library references cannot be chained: My.Custom.Type at character : ...

The best thing I could find is this QA which suggests to have My.Custom.Type defined as Library.


Is there a way to have OAS RAML Converter create a RAML file + libraries for types, instead of a single giant RAML file?

@tomasmateus
Copy link

Hi, unfortunately there's no way to output multiple files. The api spec is always converted to it's best effort equivalent in a single file.

@moodmosaic
Copy link
Author

What about those errors though?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants