Skip to content

v2.9.5 (2025-04-10) Deploy previews in your documentation context and a fix

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 10 Apr 15:25
· 1 commit to main since this release
43577a6

🆕 You can now push a temporary version and create a preview in the context of your documentation

With the bump deploy command, you can now pass a new parameter: --preview. This will have the effect to deploy a “temporary” version which won't be visible by your end users but you'll get a preview of your documentation with the deployed document.

e.g.

bump deploy --doc my-doc --token my-secret-token --preview api-definition-file.json

The returned value will be a URL of the version you pushed, directly available in your context but not accessible from your rendered documentation.

🐛 fixing the overlay command (again!)

There was another case which got broken since the refactoring of 2.9.3: removing all elements of an array would.. not remove all elements and always leave n/2 elements in the array.

This is luckly fixed now and an overlay action like this:

- target: "$.servers.*"
  remove: true

will successfully remove all servers to the openapi document you target with that overlay.

😌 Thanks again Lisa for reporting this!


As usual, have fun designing APIs 😊 ✨