Skip to content

crawlersList return type is void instead of actual response type #121

@stooit

Description

@stooit

Description

CrawlersApi.crawlersList() has its return type typed as AxiosPromise<void> but it actually returns data (an array of crawlers).

// api.ts line 23255
crawlersList(organization: string, project: string, options?: RawAxiosRequestConfig): AxiosPromise<void>

This forces consumers to cast response.data as any to use the actual response.

Expected

The method should return a properly typed response (e.g. AxiosPromise<CrawlersListResponse> or similar) matching the actual API response shape.

Version

v4.12.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions