Skip to content

Conversation

@devin-ai-integration
Copy link
Contributor

@devin-ai-integration devin-ai-integration bot commented Jan 23, 2026

Description

Refs: User request to add alpha, preview, and stable as availability options per industry standards.

Adds alpha, preview, and stable as new values for the x-fern-availability OpenAPI extension. These map to existing internal availability statuses:

  • alphaIN_DEVELOPMENT
  • previewPRE_RELEASE (same as beta)
  • stableGENERAL_AVAILABILITY (same as ga)

Link to Devin run: https://app.devin.ai/sessions/5732bfb11d0849959b0fcb3cc3abe788
Requested by: Niels Swimberghe (@Swimburger)

Changes Made

  • Updated x-fern-availability.ts in v3-importer-commons to handle alpha, preview, and stable values
  • Updated getFernAvailability.ts in openapi-ir-parser to handle alpha, preview, stable, and in-development values
  • Added InDevelopment to the openapi-ir Availability enum and regenerated the SDK
  • Added test endpoints (/alpha-endpoint, /preview-endpoint, /stable-endpoint) to availability test fixtures
  • Updated all related test snapshots

Testing

  • Unit tests updated (snapshots regenerated)
  • Lint checks pass (pnpm run check)

Review Checklist

  • Verify the mapping of alphaIN_DEVELOPMENT, previewPRE_RELEASE, and stableGENERAL_AVAILABILITY aligns with expectations
  • Note: In the older openapi-ir-to-fern conversion path (openapi/availability.json snapshot), the anAlphaEndpoint shows "availability": undefined rather than "in-development". This appears to be a pre-existing limitation where that converter doesn't handle InDevelopment. The v3 importer path correctly shows "status": "IN_DEVELOPMENT".

…bility

Co-Authored-By: Niels Swimberghe <3382717+Swimburger@users.noreply.github.com>
@devin-ai-integration
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Co-Authored-By: Niels Swimberghe <3382717+Swimburger@users.noreply.github.com>
@devin-ai-integration devin-ai-integration bot changed the title feat: add alpha and preview as availability options for x-fern-availability feat: add alpha, preview, and stable as availability options for x-fern-availability Jan 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

0 participants