refactor: make compliance with the new api

This commit is contained in:
2024-10-27 07:38:42 +03:00
parent 5d265e4b48
commit 7c66f31bac
4 changed files with 2 additions and 130 deletions

View File

@ -1,37 +0,0 @@
/**
* 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 detailed information about a faculty.
*/
export interface FacultyDetailsResponse {
/**
* Gets or sets the unique identifier of the faculty.
*/
id: number;
/**
* Gets or sets the name of the faculty.
*/
name: string;
/**
* Gets or sets the unique identifier of the campus to which the faculty belongs (optional).
*/
campusId?: number;
/**
* Gets or sets the name of the campus to which the faculty belongs (optional).
*/
campusName?: string;
/**
* Gets or sets the code name of the campus to which the faculty belongs (optional).
*/
campusCode?: string;
}

View File

@ -13,7 +13,7 @@
/**
* Represents basic information about a faculty.
*/
export interface FacultyResponse {
export interface FacultyResponse {
/**
* Gets or sets the unique identifier of the faculty.
*/
@ -22,8 +22,4 @@ export interface FacultyResponse {
* Gets or sets the name of the faculty.
*/
name: string;
/**
* Gets or sets the unique identifier of the campus to which the faculty belongs (optional).
*/
campusId?: number;
}
}