Skip to content

docs: clarify how Fern handles OpenAPI string validation keywords - #6505

Closed
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1785769805-openapi-validation-keywords
Closed

docs: clarify how Fern handles OpenAPI string validation keywords#6505
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1785769805-openapi-validation-keywords

Conversation

@devin-ai-integration

Copy link
Copy Markdown
Contributor

Summary

Users assume maxLength and friends are enforced by generated SDKs. The OpenAPI overview page said nothing about validation keywords, so there was nowhere in the public docs to correct that.

Adds a two-sentence ## String validation keywords section to the OpenAPI overview stating that Fern reads maxLength, minLength, pattern, and format, where they surface (API Reference type display, API Explorer input cap, fern check example validation), and that generated SDKs don't enforce them — that stays the API server's job.

The equivalent statement already exists for Fern Definition on api-def/ferndef/types.mdx ("enforced by the server, but the generated client SDKs don't include validation logic"), so no new page and no changes elsewhere.

Link to Devin session: https://app.devin.ai/sessions/13be6b5189344424adada59f49cd33fc

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration
devin-ai-integration Bot requested a review from devalog as a code owner August 3, 2026 15:10
@devin-ai-integration

Copy link
Copy Markdown
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, CI, and merge conflict monitoring

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

@devalog devalog closed this Aug 3, 2026
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.

1 participant