Closed paulRbr closed 5 months ago
Can we pop in a Thanks section on the README and put Lorna Mitchel on there?
We've done this for Spectral, Prism, and I recommend it for any tool which has substantial contribution from a single contributor, like this.
@scharrier following your review, I've moved things around to make it clearer (I think). Basically all the “command” related feature is in the new commands/overlay.ts
file while all the things around the definition (format, applying overlay...) is in the APIdefinition
model.
I think it makes more sense like this. Let me know if it suits you!
Together with the guide written by Phil on OpenAPI overlays, we thought it would be a good idea to release a new
bump overlay
command in the CLI in order to test the new OpenAPI Overlay specification.This WIP change is based on @lornajane's work on overlays with a few changes here and there.
I've published the resulting built package from this branch as a beta version on npmjs registry so you can test a beta version of Bump CLI installable with:
Example usage
Note: the input API document file name is used to detect the target output overlayed document (Json or Yaml)
--out
argument