You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(cli): skip loading AI examples during SDK generation (#11607)
* fix(cli): skip loading AI examples during SDK generation
AI examples are now only loaded for docs generation (fern generate --docs),
not for SDK generation (fern generate). This prevents AI-generated examples
from being injected into SDK code generation.
Changes:
- Add loadAiExamples parameter to loadOpenAPI() with default false
- Pass loadAiExamples through OpenAPILoader.loadDocuments()
- Pass loadAiExamples through OSSWorkspace.getOpenAPIIr()
- Set loadAiExamples: true in docs generation paths:
- DocsDefinitionResolver.toApiSectionNode()
- generateFdrFromOpenApiWorkspace()
Co-Authored-By: kenny@buildwithfern.com <kenny@buildwithfern.com>
* Update changelog entry for version 3.47.2
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: kenny@buildwithfern.com <kenny@buildwithfern.com>
Co-authored-by: Kenny Derek <pickypulsars@gmail.com>