fix: wrap unescaped curly brackets in structured output schema descriptions#932
Merged
sahilsuman933 merged 1 commit intomainfrom Feb 12, 2026
Merged
Conversation
… schema descriptions
The model property description in structured output schemas (CreateStructuredOutputDTO,
StructuredOutput, UpdateStructuredOutputDTO) contains liquid template syntax references
like {{structuredOutput}}, {{structuredOutput.name}}, etc. that break MDX/Fern page
rendering when not wrapped in inline code backticks.
This is a re-application of the fix from PR #924 which was overwritten by a subsequent
API schema push.
Linear: DEVREL-491
sahilsuman933
approved these changes
Feb 12, 2026
Contributor
|
🌿 Preview your docs: https://vapi-preview-6359398d-a66c-4e47-9c0c-f3f5569b916f.docs.buildwithfern.com |
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
{{}}and{{structuredOutput...}}references in inline code backticks within themodelproperty descriptions of structured output schemas inopenapi.jsonCreateStructuredOutputDTO,StructuredOutput,UpdateStructuredOutputDTO{{) cause MDX/Fern to interpret them as template expressions, breaking the API reference pages for structured output endpointsAffected endpoints (now unblocked):
structured-output-controller-createstructured-output-controller-find-onestructured-output-controller-removestructured-output-controller-updatestructured-output-controller-runNote: A companion upstream fix PR has been opened in
VapiAI/vapito prevent this from being overwritten again on the next API schema push.Linear: DEVREL-491
Testing Steps
fern docs devor navigate to preview deployment