Skip to content
This repository was archived by the owner on Jan 12, 2026. It is now read-only.

Support base cloud ref in diff and diff-all#1882

Merged
niclim merged 5 commits intomainfrom
support-base-cloud-ref
Apr 26, 2023
Merged

Support base cloud ref in diff and diff-all#1882
niclim merged 5 commits intomainfrom
support-base-cloud-ref

Conversation

@niclim
Copy link
Contributor

@niclim niclim commented Apr 26, 2023

🍗 Description

What does this PR do? Anything folks should know?

Updates diff + diff-all to diff against a ref. This looks like:

  • optic diff spec.yml --base cloud:gitbranch:main
  • optic diff-all --compare-from cloud:gitbranch:main

This requires specs to have x-optic-url set - we construct a cloud:apiId@tag format and use that to request the spec (i.e. latest spec on specified tag)

📚 References

Links to relevant docs (Notion, Twist, GH issues, etc.), if applicable.

👹 QA

How can other humans verify that this PR is correct?

@niclim niclim requested a review from nalanj April 26, 2023 15:26
@niclim niclim added this pull request to the merge queue Apr 26, 2023
Merged via the queue into main with commit fa4b8e1 Apr 26, 2023
@niclim niclim deleted the support-base-cloud-ref branch April 26, 2023 16:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants