diff --git a/frontend/src/openapi/models/ProteinEntry.ts b/frontend/src/openapi/models/ProteinEntry.ts index 5832a603..95eb0f1a 100644 --- a/frontend/src/openapi/models/ProteinEntry.ts +++ b/frontend/src/openapi/models/ProteinEntry.ts @@ -5,7 +5,6 @@ export type ProteinEntry = { name: string; - id: string; length: number; mass: number; }; diff --git a/frontend/src/openapi/services/DefaultService.ts b/frontend/src/openapi/services/DefaultService.ts index ba082c46..7dad6330 100644 --- a/frontend/src/openapi/services/DefaultService.ts +++ b/frontend/src/openapi/services/DefaultService.ts @@ -30,18 +30,18 @@ export class DefaultService { * Get Protein Entry * Get a single protein entry by its id * Returns: ProteinEntry if found | None if not found - * @param proteinId + * @param proteinName * @returns any Successful Response * @throws ApiError */ public static getProteinEntry( - proteinId: string, + proteinName: string, ): CancelablePromise<(ProteinEntry | null)> { return __request(OpenAPI, { method: 'GET', - url: '/protein-entry/{protein_id}', + url: '/protein-entry/{protein_name}', path: { - 'protein_id': proteinId, + 'protein_name': proteinName, }, errors: { 422: `Validation Error`,