Skip to content

Conversation

andreaangiolillo
Copy link
Collaborator

@andreaangiolillo andreaangiolillo commented Jan 14, 2025

Proposed changes

This PR updates the foascli version to include the preview API version in the list. It also define a new stability-level flag to allow the user to filter out preview or stable API version from the output list

Jira ticket: CLOUDP-294587

./bin/foascli versions -s /Users/andrea.angiolillo/Downloads/openapi-mms-with-preview.json                        
[
  "2023-01-01",
  "2023-02-01",
  "2023-10-01",
  "2023-11-15",
  "2024-05-30",
  "2024-08-05",
  "2024-10-23",
  "2024-11-13",
  "2025-05-30",
  "2043-01-01",
  "preview"
]
./bin/foascli versions -s /Users/andrea.angiolillo/Downloads/openapi-mms-with-preview.json -l PREVIEW                                                 
[
  "preview"
]
./bin/foascli versions -s /Users/andrea.angiolillo/Downloads/openapi-mms-with-preview.json -l STABLE                                                 

[
  "2023-01-01",
  "2023-02-01",
  "2023-10-01",
  "2023-11-15",
  "2024-05-30",
  "2024-08-05",
  "2024-10-23",
  "2024-11-13",
  "2025-05-30",
  "2043-01-01"
]

@andreaangiolillo andreaangiolillo marked this pull request as ready for review January 15, 2025 10:20
@andreaangiolillo andreaangiolillo requested a review from a team as a code owner January 15, 2025 10:20
@andreaangiolillo andreaangiolillo changed the title CLOUDP-294587: CLOUDP-294587: Update FOASCLI version to list also the preview api version Jan 15, 2025
Copy link
Contributor

@gssbzn gssbzn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@andreaangiolillo andreaangiolillo merged commit c86a5cf into main Jan 15, 2025
11 checks passed
@andreaangiolillo andreaangiolillo deleted the CLOUDP-294587 branch January 15, 2025 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants