feat: add alpha, preview, and stable as availability options for x-fern-availability#11713
Closed
devin-ai-integration[bot] wants to merge 2 commits intomainfrom
Closed
feat: add alpha, preview, and stable as availability options for x-fern-availability#11713devin-ai-integration[bot] wants to merge 2 commits intomainfrom
devin-ai-integration[bot] wants to merge 2 commits intomainfrom
Conversation
…bility Co-Authored-By: Niels Swimberghe <3382717+Swimburger@users.noreply.github.com>
Contributor
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
3 tasks
Co-Authored-By: Niels Swimberghe <3382717+Swimburger@users.noreply.github.com>
Contributor
|
This PR is stale because it has been open 25 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
Contributor
Author
|
Devin is archived and cannot be woken up. Please unarchive Devin if you want to continue using it. |
Contributor
|
This PR was closed because it has been inactive for 5 days after being marked stale. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Refs: User request to add
alpha,preview, andstableas availability options per industry standards.Adds
alpha,preview, andstableas new values for thex-fern-availabilityOpenAPI extension. These map to existing internal availability statuses:alpha→IN_DEVELOPMENTpreview→PRE_RELEASE(same asbeta)stable→GENERAL_AVAILABILITY(same asga)Link to Devin run: https://app.devin.ai/sessions/5732bfb11d0849959b0fcb3cc3abe788
Requested by: Niels Swimberghe (@Swimburger)
Changes Made
x-fern-availability.tsin v3-importer-commons to handlealpha,preview, andstablevaluesgetFernAvailability.tsin openapi-ir-parser to handlealpha,preview,stable, andin-developmentvaluesInDevelopmentto the openapi-irAvailabilityenum and regenerated the SDK/alpha-endpoint,/preview-endpoint,/stable-endpoint) to availability test fixturesTesting
pnpm run check)Review Checklist
alpha→IN_DEVELOPMENT,preview→PRE_RELEASE, andstable→GENERAL_AVAILABILITYaligns with expectationsopenapi/availability.jsonsnapshot), theanAlphaEndpointshows"availability": undefinedrather than"in-development". This appears to be a pre-existing limitation where that converter doesn't handleInDevelopment. The v3 importer path correctly shows"status": "IN_DEVELOPMENT".