Repository navigation
Document types: true on the api navigation item (standalone type pages) - #7875
Open
devin-ai-integration[bot] wants to merge 2 commits into
Open
devin-ai-integration[bot] wants to merge 2 commits into
devin-ai-integration[bot] wants to merge 2 commits into
Conversation
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
devin-ai-integration
Bot
requested review from
jkonrath-postman and
nerminamiller-postman
as code owners
November 14, 2026 17:09
Contributor
Author
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
Contributor
|
🌿 Preview your docs: https://fern-preview-devin-1794676163-api-types-pages.docs.buildwithfern.com/learn Here are the markdown pages you've updated: |
…172) Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.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.
Summary
types: trueis a new opt-in flag on an- api:navigation item indocs.yml. It gives every schema that no endpoint, webhook, or WebSocket references its own page in the API Reference. Before this, an API whose value lives in its schemas, such as an XML element vocabulary (TwiML-stylepaths: {}specs), shared models, or unwired event payloads, rendered nothing for those schemas. Now customers can document them, and each type page's example shows the values the API author wrote in the schema'sexample(for example,voice="alice"on a TwiML<Say>page) instead of placeholders, with every variant of aoneOflist.Implements docs for:
types: trueon an api navigation item adds a Types section with a page per unreferenced schema (XML example for XML types) (fern-api/fern#18846)types: truesectionSchemasnext to a GraphQLTypessection; locale-stable sort (fern-api/fern#18853)apiTypenavigation node) for schemas no operation references (fern-api/fern-platform#16145)Pages changed
customize-api-ref.mdx(canonical): new### Documenting standalone typessection after "Paginating endpoints", plus atypesParamFieldin the configuration options reference. It covers:Typessection, which comes last, is sorted by title, and lives at<api-reference>/types/<type-name>example/examplesentry, or one assembled from property-level examples only when every required property has one, otherwise placeholders; shown as XML for XML-encoded types and as JSON otherwise. An XML example writes only the properties the example sets, one element per list item, eachoneOfitem as the variant it matches. Includes a short OpenAPIexamplesnippet.llms.txt, and Markdown twin coverageSchemastitle and slug when the API also has a GraphQLTypessectiongenerate-graphql-ref.mdx: one sentence in## Typesnoting thattypes: trueschema pages go in a separateSchemassection.sdks/deep-dives/xml-encoded-types.mdx: one sentence noting that standalone type pages in Fern Docs show an XML example for these types. The frozenlegacy/copy is left unchanged.fern-instructions/docs/api-reference.mdx: workflow step 4 now mentionstypes: true.The
cli-changelog/directory was not edited.Validation
fern check --warnings(5.59.0): 0 errors. The 18 warnings are all pre-existing and unrelated.customize-api-ref.mdxline 313, "API reference") is in existingplayground.hiddentext and was left alone.Note: the docs.yml schema in fern#18846 marks
typesasavailability: in-development, as it does forpaginated. The page documentstypeswithout a beta label.🟢 Devin Review found nothing to fix · View findings