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

feat(api): OpenAPI spec update via Stainless API #9

Merged
merged 1 commit into from
Jul 7, 2024
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ interface ProjectServiceAsync {

fun inferencePipelines(): InferencePipelineServiceAsync

/** Create a project under the current workspace. */
/** Create a project in your workspace. */
@JvmOverloads
fun create(
params: ProjectCreateParams,
requestOptions: RequestOptions = RequestOptions.none()
): CompletableFuture<ProjectCreateResponse>

/** List the projects in a user's workspace. */
/** List your workspace's projects. */
@JvmOverloads
fun list(
params: ProjectListParams,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ constructor(
private val createHandler: Handler<ProjectCreateResponse> =
jsonHandler<ProjectCreateResponse>(clientOptions.jsonMapper).withErrorHandler(errorHandler)

/** Create a project under the current workspace. */
/** Create a project in your workspace. */
override fun create(
params: ProjectCreateParams,
requestOptions: RequestOptions
Expand Down Expand Up @@ -72,7 +72,7 @@ constructor(
private val listHandler: Handler<ProjectListResponse> =
jsonHandler<ProjectListResponse>(clientOptions.jsonMapper).withErrorHandler(errorHandler)

/** List the projects in a user's workspace. */
/** List your workspace's projects. */
override fun list(
params: ProjectListParams,
requestOptions: RequestOptions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ interface ProjectService {

fun inferencePipelines(): InferencePipelineService

/** Create a project under the current workspace. */
/** Create a project in your workspace. */
@JvmOverloads
fun create(
params: ProjectCreateParams,
requestOptions: RequestOptions = RequestOptions.none()
): ProjectCreateResponse

/** List the projects in a user's workspace. */
/** List your workspace's projects. */
@JvmOverloads
fun list(
params: ProjectListParams,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ constructor(
private val createHandler: Handler<ProjectCreateResponse> =
jsonHandler<ProjectCreateResponse>(clientOptions.jsonMapper).withErrorHandler(errorHandler)

/** Create a project under the current workspace. */
/** Create a project in your workspace. */
override fun create(
params: ProjectCreateParams,
requestOptions: RequestOptions
Expand Down Expand Up @@ -70,7 +70,7 @@ constructor(
private val listHandler: Handler<ProjectListResponse> =
jsonHandler<ProjectListResponse>(clientOptions.jsonMapper).withErrorHandler(errorHandler)

/** List the projects in a user's workspace. */
/** List your workspace's projects. */
override fun list(
params: ProjectListParams,
requestOptions: RequestOptions
Expand Down