feat: add api models
This commit is contained in:
29
src/shared/responses/v1/professorResponse.ts
Normal file
29
src/shared/responses/v1/professorResponse.ts
Normal file
@ -0,0 +1,29 @@
|
||||
/**
|
||||
* MIREA Schedule Web API
|
||||
* This API provides a convenient interface for retrieving data stored in the database. Special attention was paid to the lightweight and easy transfer of all necessary data. Made by the Winsomnia team.
|
||||
*
|
||||
* OpenAPI spec version: 1.0
|
||||
* Contact: support@winsomnia.net
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Represents information about a professor.
|
||||
*/
|
||||
export interface ProfessorResponse {
|
||||
/**
|
||||
* Gets or sets the unique identifier of the professor.
|
||||
*/
|
||||
id: number;
|
||||
/**
|
||||
* Gets or sets the name of the professor.
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* Gets or sets the alternate name of the professor (optional).
|
||||
*/
|
||||
altName?: string;
|
||||
}
|
Reference in New Issue
Block a user