I split a Swagger definition into separate files to get a better overview 
of the api and to define shared definitions only once. With the "paths" I 
didn't find a way to convert it to a separate file where the code 
generation doesn't fail. 
Since I couldn't find a way to reference the sepered files on "swaggerhub", 
I used the editor http://editor2.swagger.io instead. There I could enter 
the "Preferences" at "Pointer Resolution Base Path" the path to 
"http://localhost:8080";. This also works and the separate file "persons. 
yaml" is loaded from the editor. 
Everything is fine for the editor, but the code generation fails.
I'll add a simple example. It would be great if there is a solution where 
code generation works.
Thanks for answer

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Attachment: api.yaml
Description: Binary data

Attachment: persons.yaml
Description: Binary data

Reply via email to