#api-client #openapi-generator #generated #time-table #openapitools #api-version #github

bsac-api-client

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

1 stable release

1.0.0 Sep 29, 2024

#1686 in Web programming

Unlicense

135KB
2.5K SLoC

Rust API client for openapi

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

Overview

This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.

  • API version: 1.0
  • Package version: 1.0
  • Generator version: 7.8.0
  • Build package: org.openapitools.codegen.languages.RustClientCodegen

Installation

Put the package under your project folder in a directory named openapi and add the following to Cargo.toml under [dependencies]:

openapi = { path = "./openapi" }

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
ExamsApi get_group_exams GET /api/exams/{groupId} Gets all exams for group
GroupsApi get_groups GET /api/groups Gets all groups
KtpApi get_ktps GET /api/ktp/{lessonId} Gets all ktps
LessonsApi get_lessons GET /api/lessons Gets all lessons
PracticesApi get_practices GET /api/practices Gets all practices for group
ScheduleChangeApi get_schedule_additions GET /api/schedulechange/additions/{groupId} Gets all schedule additions for group
ScheduleChangeApi get_schedule_moves GET /api/schedulechange/move/{groupId} Gets all schedule moves for group
SchedulesApi get_schedule_actuality GET /api/schedules/actuality Gets the schedule actuality
SchedulesApi get_schedule_for_date GET /api/schedules/groups/{groupId}/date Get schedule for date
SchedulesApi get_schedule_for_groups GET /api/schedules/groups Gets schedule for users subscribed groups
SchedulesApi get_schedule_for_teachers GET /api/schedules/teachers Gets schedule for user subscribed teachers
SchedulesApi get_week GET /api/schedules/week Gets current week
SchedulesApi get_works_schedule GET /api/schedules/works Get works schedule
TeachersApi get_teachers GET /api/teachers Gets all teachers
WorksApi get_works GET /api/works/{groupId} Gets all works for group

Documentation For Models

To get access to the crate's generated documentation, use:

cargo doc --open

Author

Dependencies

~8–19MB
~270K SLoC