Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🌿 Fern Regeneration -- January 27, 2025 #243

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .mock/definition/documents.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ service:
ordering:
type: optional<string>
docs: Which field to use when ordering the results.
search:
type: optional<string>
docs: A search term.
response:
docs: ''
type: root.PaginatedSlimDocumentList
Expand Down
6 changes: 6 additions & 0 deletions .mock/openapi/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -811,6 +811,12 @@ paths:
description: Which field to use when ordering the results.
schema:
type: string
- name: search
required: false
in: query
description: A search term.
schema:
type: string
tags:
- documents
security:
Expand Down
2 changes: 1 addition & 1 deletion core/request_option.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func (r *RequestOptions) cloneHeader() http.Header {
headers := r.HTTPHeader.Clone()
headers.Set("X-Fern-Language", "Go")
headers.Set("X-Fern-SDK-Name", "github.com/vellum-ai/vellum-client-go")
headers.Set("X-Fern-SDK-Version", "v0.13.13")
headers.Set("X-Fern-SDK-Version", "v0.0.2233")
return headers
}

Expand Down
2 changes: 2 additions & 0 deletions documents.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ type DocumentsListRequest struct {
Offset *int `json:"-" url:"offset,omitempty"`
// Which field to use when ordering the results.
Ordering *string `json:"-" url:"ordering,omitempty"`
// A search term.
Search *string `json:"-" url:"search,omitempty"`
}

type PatchedDocumentUpdateRequest struct {
Expand Down
Loading