Open seanpdoyle opened 11 years ago
Yes, I totally agree, this is a huge pain point.
Unfortunately, I don't have any good ideas that are extremely clear and easy to explain. The JSON Schema (that we rely on) specifies Canonical dereferencing and inline referencing which may be used to do this, there would need to be a little fdoc sugar to help make these relative to the docs and such.
Like I said I don't have any crystal clear routes to implementing this, but am happy to review & accept pull request.
Is there any way to DRY up the
fdoc
response YAML files? I'd love to use something like YAML inheritance, but it doesn't seem to work.I find myself constantly copy pasting YAMLs across
PUT/POST/GET
actionsit would be nice to somehow declare a base and have it shared across files
Then, elsewhere in (another file) inherit the properties