Add mapping v3
This commit is contained in:
parent
97df49f175
commit
4b35ee3e92
2 changed files with 40 additions and 33 deletions
|
@ -1,8 +1,5 @@
|
|||
import kotlinx.serialization.encodeToString
|
||||
import mapping.ApiEndpointsMap
|
||||
import mapping.ApiEndpointsVHeaders
|
||||
import mapping.ApiEndpointsVTokenMap
|
||||
import mapping.ApiEndpointsVTokenSchemeMap
|
||||
import mapping.*
|
||||
import java.io.File
|
||||
|
||||
fun main() {
|
||||
|
@ -22,6 +19,12 @@ fun main() {
|
|||
vTokenSchemeMap = ApiEndpointsVTokenSchemeMap,
|
||||
vHeaders = ApiEndpointsVHeaders,
|
||||
)
|
||||
val mappingV3 = generateMappingJson(
|
||||
endpoints = ApiEndpointsMapV3,
|
||||
vTokenMap = ApiEndpointsVTokenMap,
|
||||
vTokenSchemeMap = ApiEndpointsVTokenSchemeMap,
|
||||
vHeaders = ApiEndpointsVHeaders,
|
||||
)
|
||||
val html = generateHtml(filteredMessages)
|
||||
val end = json.encodeToString(endMessage)
|
||||
|
||||
|
@ -29,5 +32,6 @@ fun main() {
|
|||
File("../dist/end.json").writeText(end)
|
||||
File("../dist/mapping1.json").writeText(mappingV1)
|
||||
File("../dist/mapping2.json").writeText(mappingV2)
|
||||
File("../dist/mapping3.json").writeText(mappingV3)
|
||||
File("../dist/index.html").writeText(html)
|
||||
}
|
||||
|
|
|
@ -545,7 +545,10 @@ val ApiEndpointsMap = mapOf(
|
|||
"Oceny" to "4f2f158b-29cf-48d3-8078-50c74ccb6c9c",
|
||||
),
|
||||
),
|
||||
"24.04.0010.58863-d" to mapOf(
|
||||
)
|
||||
|
||||
val ApiEndpointsMapV3 = ApiEndpointsMap + mapOf(
|
||||
"24.04.0010.58863" to mapOf(
|
||||
"uonetplus-uczen" to mapOf(
|
||||
// "Autoryzacja" to "",
|
||||
"EgzaminyZewnetrzne" to "fe6b40ba-8a2f-4ad3-a519-343226a66a23",
|
||||
|
@ -553,17 +556,17 @@ val ApiEndpointsMap = mapOf(
|
|||
"FrekwencjaStatystyki" to "fcefe7af-4324-4e70-ae42-c63dbe988099",
|
||||
"FrekwencjaStatystykiPrzedmioty" to "bb36d4b5-a481-43f7-aae6-89b004451911",
|
||||
"Homework" to "250e6ac4-ab2c-4784-9110-112b6c7b0410",
|
||||
"LekcjeZrealizowane.mvc/GetPrzedmioty" to "ca9358ca-bab9-4e35-85c9-2c8eb1691a6e",
|
||||
"LekcjeZrealizowane.mvc/GetZrealizowane" to "1a83b152-3160-43db-8683-0fd25c65b78a",
|
||||
"LekcjeZrealizowane.mvc/GetPrzedmioty" to "ca9358ca-bab9-4e35-85c9-2c8eb1691a6e.mvc/Get",
|
||||
"LekcjeZrealizowane.mvc/GetZrealizowane" to "1a83b152-3160-43db-8683-0fd25c65b78a.mvc/Get",
|
||||
"Oceny" to "837fd82d-3b34-4ef2-9b6c-bbb4032b6975",
|
||||
"Ogloszenia" to "ff3e1b2d-9106-4842-91e1-8db7af1b7819",
|
||||
"PlanZajec" to "dbef1773-0db6-4d08-9a5b-85146a06dfae",
|
||||
"RejestracjaUrzadzeniaToken" to "e581158e-8ff5-4461-9c35-0d9389fbd651",
|
||||
"RejestracjaUrzadzeniaTokenCertyfikat" to "afd176b2-d574-470c-b83e-77ab45dfa8a1",
|
||||
"Sprawdziany" to "81037688-53b4-4f1e-ab43-bc5eabe72501",
|
||||
"Statystyki.mvc/GetOcenyCzastkowe" to "c56368dc-3530-4960-94e2-2b5435732bae",
|
||||
"Statystyki.mvc/GetPunkty" to "387d3492-5d9d-44f5-b028-4948a16e3e42",
|
||||
"Statystyki.mvc/GetOcenyRoczne" to "462d4b6d-f1d2-4c4b-8ebc-1aee25c69354",
|
||||
"Statystyki.mvc/GetOcenyCzastkowe" to "c56368dc-3530-4960-94e2-2b5435732bae.mvc/Get",
|
||||
"Statystyki.mvc/GetPunkty" to "387d3492-5d9d-44f5-b028-4948a16e3e42.mvc/Get",
|
||||
"Statystyki.mvc/GetOcenyRoczne" to "462d4b6d-f1d2-4c4b-8ebc-1aee25c69354.mvc/Get",
|
||||
"SzkolaINauczyciele" to "0e484bbe-bc2e-4f80-9bc8-7ee67097f426",
|
||||
"Uczen" to "630cd54b-b952-43ee-aeb4-4438a2b21e75",
|
||||
"UczenCache" to "333dce23-9766-4f2a-bc30-689bc04f0765",
|
||||
|
|
Loading…
Reference in a new issue