javanile / yamlinc

Compose multiple YAML files into one with $include tag. Split Swagger/OpenAPI into multiple YAML files.
MIT License
114 stars 22 forks source link

Commented out $include should still work #22

Open SmithKevin opened 5 years ago

SmithKevin commented 5 years ago

In some yml usages (Swagger/OpenAPI), it is very strict on what tags you can use. My goal is to have my base file still be a valid Swagger while decorating endpoints with external files. If instead of $include it was #include or even #$include then swagger would see it as a comment while the tool would correctly import what it needs.

IS it possible to make the$include string be customizable?