Skip to content

Commit ae5df0e

Browse files
Update for rating (#7)
* Update generate.js added paths to rating * Delete redocly.yaml * Update generate.js * API codegen update (#8) Co-authored-by: BatuevIO <[email protected]> * imported rating paths * changed rating openapi.json to prod link for future comfort --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent bd75cea commit ae5df0e

File tree

4 files changed

+656
-45
lines changed

4 files changed

+656
-45
lines changed

redocly.yaml

Lines changed: 0 additions & 44 deletions
This file was deleted.

scripts/generate.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const apis = {
1313
social: "https://api.profcomff.com/social/openapi.json",
1414
userdata: "https://api.profcomff.com/userdata/openapi.json",
1515
achievement: "https://api.profcomff.com/achievement/openapi.json",
16+
rating: "https://api.profcomff.com/rating/openapi.json",
1617
};
1718

1819
const header = `/**

src/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import type { paths as servicesPaths } from "./openapi/services.ts";
99
import type { paths as socialPaths } from "./openapi/social.ts";
1010
import type { paths as timetablePaths } from "./openapi/timetable.ts";
1111
import type { paths as userdataPaths } from "./openapi/userdata.ts";
12+
import type { paths as ratingPaths } from "./openapi/rating.js";
1213

1314

1415
export type paths = (
@@ -19,7 +20,8 @@ export type paths = (
1920
servicesPaths &
2021
socialPaths &
2122
timetablePaths &
22-
userdataPaths
23+
userdataPaths &
24+
ratingPaths
2325
);
2426

2527
let currentClient: ReturnType<typeof Client<paths>> | undefined = undefined;

0 commit comments

Comments
 (0)