Releases: fern-api/fern
Releases · fern-api/fern
3.20.0
feat(openapi): add webhook response descriptions to IR (#11222) * feat(openapi): add webhook response descriptions to IR This PR adds support for webhook response descriptions by: 1. Adding response field to OpenAPI IR Webhook type 2. Adding response/response-stream fields to Fern definition webhook schema 3. Converting OpenAPI webhook responses to Fern definition format 4. Converting Fern definition webhook responses to IR format The descriptions are stored in the body-level docs fields (JsonResponse, FileDownloadResponse, etc.) rather than adding a response-level docs field to HttpResponse, which avoids widespread changes to endpoint handling. Co-Authored-By: Sarah Bawabe <[email protected]> * fix: add response and response-stream fields to webhook validator visitor Co-Authored-By: Sarah Bawabe <[email protected]> * chore: regenerate JSON schema files with webhook response fields Co-Authored-By: Sarah Bawabe <[email protected]> * feat(ir): add docs field to HttpResponse for webhook response descriptions - Add extends: commons.WithDocs to HttpResponse in IR schema - Regenerate IR SDK types for ir-types-latest - Update convertWebhookGroup.ts to populate docs field on webhook responses - Update convertHttpResponse.ts to include docs field on endpoint responses - Update openapi-to-ir WebhookConverter.ts to capture response descriptions - Update openapi-to-ir OperationConverter.ts to include docs field - Update openrpc-to-ir MethodConverter.ts to include docs field - Update test snapshots with new docs field Co-Authored-By: Sarah Bawabe <[email protected]> * fix: add docs field to protoc-gen-fern MethodConverter HttpResponse Co-Authored-By: Sarah Bawabe <[email protected]> * test: update ete-tests snapshots for HttpResponse docs field Co-Authored-By: Sarah Bawabe <[email protected]> * feat(ir): bump IR version to 62.5.0 and update snapshots for HttpResponse docs field Co-Authored-By: Sarah Bawabe <[email protected]> * test: update protoc-gen-fern snapshot for HttpResponse docs field Co-Authored-By: Sarah Bawabe <[email protected]> * test: update grpc-comments-ir snapshot for HttpResponse docs field Co-Authored-By: Sarah Bawabe <[email protected]> * test: update webhook-openapi-responses-fdr snapshot with response descriptions Co-Authored-By: Sarah Bawabe <[email protected]> * fix(fdr): propagate response-level docs to FDR description field Co-Authored-By: Sarah Bawabe <[email protected]> * fix: remove trailing newlines from snapshot files Co-Authored-By: Sarah Bawabe <[email protected]> * test: update v61-to-v60 migration snapshot for HttpResponse docs field Co-Authored-By: Sarah Bawabe <[email protected]> * test: regenerate ir-generator-tests JSON fixtures for HttpResponse docs field Co-Authored-By: Sarah Bawabe <[email protected]> --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
3.19.0
feat(openapi): add explode field to PathParameter and QueryParameter …
3.18.4
fix(cli): revert regex parsing for <Code> (#11219) revert regex
3.18.3
fix(cli): fix duplicate type declarations for allOf in request bodies…
3.18.2
fix(cli): remove no-head-response-body validation rule (#11216) * fix(cli): remove no-head-response-body validation rule Co-Authored-By: Deep Singhvi <[email protected]> * chore(cli): add changelog entry for removing HEAD response body validation Co-Authored-By: Deep Singhvi <[email protected]> --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
3.18.1
fix(cli): remove no-head-response-body validation rule (#11216) * fix(cli): remove no-head-response-body validation rule Co-Authored-By: Deep Singhvi <[email protected]> * chore(cli): add changelog entry for removing HEAD response body validation Co-Authored-By: Deep Singhvi <[email protected]> --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
3.18.0
feat(docs): add ai-example-style-instructions field to experimental c…
3.17.0
feat(cli): enable AI generated endpoint examples by default (#11211) * enable AI examples by default * version.yml * move logs to debug
3.16.1
fix(ci): add opt-in checkbox to commit seed changes on failure (#11205) Co-authored-by: Niels Swimberghe <[email protected]> Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
3.16.0
feat(cli): improve env var substitution for docs linting and instance…