Skip to content

Commit

Permalink
sh run.sh gen_api
Browse files Browse the repository at this point in the history
  • Loading branch information
xnought committed Nov 17, 2023
1 parent 583ffb8 commit 3331853
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion frontend/src/openapi/models/ProteinEntry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

export type ProteinEntry = {
name: string;
id: string;
length: number;
mass: number;
};
Expand Down
8 changes: 4 additions & 4 deletions frontend/src/openapi/services/DefaultService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`,
Expand Down

0 comments on commit 3331853

Please sign in to comment.