Skip to content

Commit adfed0c

Browse files
authored
Merge branch 'main' into overrides
2 parents b758e61 + 2b16ba8 commit adfed0c

File tree

55 files changed

+409
-169
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+409
-169
lines changed

.github/workflows/check-links.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Install link checker
2020
run: pip install linkchecker
2121
- name: Create config
22-
run: echo -e "[csv]\nseparator=,\n[filtering]\nignore=\n\texample.com\n\tus.i.posthog.com\n\tc.vialoops.com/CL0\n[output]\nignoreerrors=\n ^http ^403 Forbidden" > lcconfig
22+
run: echo -e "[csv]\nseparator=,\n[filtering]\nignore=\n\texample.com\n\tus.i.posthog.com\n\tdocs.stack-auth.com\n\t/_vercel/(speed-)?insights/\n\tc.vialoops.com/CL0\n[output]\nignoreerrors=\n ^http ^403 Forbidden" > lcconfig
2323
- name: Check ${{ matrix.site.name }} Links
2424
run: |
2525
set +e

.github/workflows/update-versions.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ jobs:
2626
run: curl -s "https://registry.hub.docker.com/v2/repositories/fernapi/fern-ruby-sdk/tags" | jq -r -j '[.results[] | select(.name != "latest")] | .[0].name' > fern/snippets/version-number-ruby.mdx
2727
- name: update-ts-version
2828
run: curl -s "https://registry.hub.docker.com/v2/repositories/fernapi/fern-typescript-sdk/tags" | jq -r -j '[.results[] | select(.name != "latest")] | .[0].name' > fern/snippets/version-number-ts.mdx
29+
- name: update-swift-version
30+
run: curl -s "https://registry.hub.docker.com/v2/repositories/fernapi/fern-swift-sdk/tags" | jq -r -j '[.results[] | select(.name != "latest")] | .[0].name' > fern/snippets/version-number-swift.mdx
2931
- name: create PR
3032
id: cpr
3133
uses: peter-evans/create-pull-request@v7

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ Keep the following principles in mind:
5454
- **Use [Fern’s documentation components](https://buildwithfern.com/learn/docs/writing-content/components/overview)** whenever you can.
5555
- **When editing an existing page** - Match the existing heading structure, tone, and level of detail to ensure your changes integrate as seamlessly as possible.
5656
- **Use diagrams when it makes sense** – Show, don't tell! Use [Mermaid](https://buildwithfern.com/learn/docs/writing-content/markdown#diagrams), a Markdown-like diagramming syntax, to illustrate a workflow.
57+
- [**Use sentence case**](https://developers.google.com/style/capitalization) for page and section headings.
5758

5859
> "Break any of these rules sooner than say anything outright barbarous."
5960
>

fern/apis/fai/definition/commons.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,10 @@ errors:
77
InternalError:
88
status-code: 401
99
type: string
10+
11+
types:
12+
Pagination:
13+
properties:
14+
total: integer
15+
page: integer
16+
limit: integer

fern/apis/fai/definition/document.yml

Lines changed: 54 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,59 @@ service:
4040
authed:
4141
type: optional<boolean>
4242
docs: Whether the document is authed
43-
response: CreateDocumentResponse
43+
response: DocumentIdResponse
44+
errors:
45+
- commons.BadRequestError
46+
- commons.InternalError
47+
48+
updateDocument:
49+
docs: Update a document for a given domain
50+
path: /{domain}/{document_id}
51+
method: PATCH
52+
audiences:
53+
- customers
54+
path-parameters:
55+
domain: string
56+
document_id: string
57+
request:
58+
name: UpdateDocumentRequest
59+
body:
60+
properties:
61+
document:
62+
type: optional<string>
63+
docs: The content of the document that will be returned in the tool response.
64+
chunk:
65+
type: optional<string>
66+
docs: The chunk of the document that will be indexed as a vector.
67+
title:
68+
type: optional<string>
69+
docs: The title of the document
70+
url:
71+
type: optional<string>
72+
docs: The url of the document
73+
version:
74+
type: optional<string>
75+
docs: The version of the document
76+
keywords:
77+
type: optional<list<string>>
78+
docs: The keywords of the document
79+
authed:
80+
type: optional<boolean>
81+
docs: Whether the document is authed
82+
response: Document
83+
errors:
84+
- commons.BadRequestError
85+
- commons.InternalError
86+
87+
deleteDocumentById:
88+
docs: Delete a document for a given domain
89+
path: /{domain}/{document_id}
90+
method: DELETE
91+
audiences:
92+
- customers
93+
path-parameters:
94+
domain: string
95+
document_id: string
4496
errors:
4597
- commons.BadRequestError
4698
- commons.InternalError
@@ -60,7 +112,7 @@ service:
60112
- commons.InternalError
61113

62114
types:
63-
CreateDocumentResponse:
115+
DocumentIdResponse:
64116
properties:
65117
document_id: string
66118

fern/apis/fai/definition/guidance.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ service:
2525
document:
2626
type: string
2727
docs: The content of the guidance document that will be returned in the tool response
28+
response: GuidanceIdResponse
2829
errors:
2930
- commons.BadRequestError
3031
- commons.InternalError
@@ -101,6 +102,10 @@ service:
101102
- commons.InternalError
102103

103104
types:
105+
GuidanceIdResponse:
106+
properties:
107+
guidance_id: string
108+
104109
Guidance:
105110
properties:
106111
guidance_id: string
@@ -113,10 +118,4 @@ types:
113118
GuidanceList:
114119
properties:
115120
guidances: list<Guidance>
116-
pagination: Pagination
117-
118-
Pagination:
119-
properties:
120-
total: integer
121-
page: integer
122-
limit: integer
121+
pagination: commons.Pagination

fern/products/api-def/api-def.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ navigation:
1616
- page: Authentication
1717
path: ./openapi-pages/auth.mdx
1818
- page: Servers
19-
path: ./openapi-pages/servers.mdx
19+
path: ./openapi-pages/servers.mdx
20+
- page: Automation
21+
path: ./openapi-pages/automation.mdx
22+
slug: sync-your-open-api-specification
2023
- section: Endpoints
2124
slug: endpoints
2225
contents:
@@ -62,12 +65,7 @@ navigation:
6265
- page: Schema names
6366
path: ./openapi-pages/extensions/schema-names.mdx
6467
- page: Server names
65-
path: ./openapi-pages/extensions/server-names.mdx
66-
- section: Workflow & automation
67-
skip-slug: true
68-
contents:
69-
- page: Sync your OpenAPI specification
70-
path: ./openapi-pages/automation.mdx
68+
path: ./openapi-pages/extensions/server-names.mdx
7169
- section: Integrate your server framework
7270
slug: frameworks
7371
contents:
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
navigation:
22
- page: AsyncAPI Definition Redirect Page
33
path: ./pages/asyncapi-empty.mdx
4-
slug: empty-page
4+
slug: empty-page
5+
hidden: true

fern/products/api-def/asyncapi-pages/extensions/overview.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ The table below shows all available extensions and links to detailed documentati
1313

1414
| Extension | Description |
1515
| --- | --- |
16-
| [`x-fern-ignore`](./ignore) | Skip reading specific operations, channels, or schemas |
17-
| [`x-fern-examples`](./examples) | Provide additional examples for better SDK documentation |
16+
| [`x-fern-ignore`](./ignoring-elements) | Skip reading specific operations, channels, or schemas |
17+
| [`x-fern-examples`](./request-response-examples) | Provide additional examples for better SDK documentation |
1818
| [`x-fern-pagination`](./pagination) | Configure pagination for operations that return multiple results |
19-
| [`x-fern-retry`](./retry) | Configure retry behavior for operations |
20-
| [`x-fern-streaming`](./streaming) | Mark operations as streaming for appropriate SDK generation |
19+
| [`x-fern-retry`](./retry-behavior) | Configure retry behavior for operations |
20+
| [`x-fern-streaming`](./streaming-operations) | Mark operations as streaming for appropriate SDK generation |
2121
| [`x-fern-error-handling`](./error-handling) | Configure error handling for operations |
22-
| [`x-fern-server-name`](./server-name) | Specify custom names for servers |
22+
| [`x-fern-server-name`](./server-names) | Specify custom names for servers |
2323
| [`x-fern-availability`](./availability) | Mark features as available in specific SDK versions |
2424

2525
<Note title="Request a new extension">
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
navigation:
22
- page: Fern Definition Redirect Page
33
path: ./pages/ferndef-empty.mdx
4-
slug: empty-page
4+
slug: empty-page
5+
hidden: true

0 commit comments

Comments
 (0)