Forum Discussion
GraceKarina
Staff
Hi, Yes you can split your main yaml file into others by using the $ref field in the objects that apply.
Nixol
4 years agoOccasional Contributor
Thanks GraceKarina . When trying to use the $ref, I got this error message:
Could not resolve reference: Tried to resolve a relative URL, without having a basePath. path: '/Users/xxxxxxx/Downloads/abcdef.yaml' basePath: 'undefined'.
The file I am trying to reference is in the folder "/Users/xxxxxxxx/Downloads/", Is there anything I am doing wrong? Is there any example I can see?
Related Content
- 4 years agoAfadieiev
Recent Discussions
- 53 minutes agoBartMadeBotBad
- 2 days agosuhaskr
- 11 days agoPrathik
swagger- specific_Api
Solved15 days agoyos123