I am trying to reuse existing (say, base.yml) YAML definitions by inheriting and overriding base.yml's function 'A'.
Note that this base.yml is shared by a different team and I am not supposed to modify it.
Hence, I want to write a new YAML definition file (say, derived.yml) which inherits from base.yml, but redefines just 'A' as I needed.
Is there a way to achieve this? I read about Swagger 3.0, which supports constructs like OneOf, AllOf etc (which I am still exploring) but primarily I am looking at Swagger 2.0, as much as possible.