From 6bf7e934dc5bf1a3fa843295963ebca0d97eba17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Borcz?= Date: Sat, 25 May 2024 16:49:21 +0200 Subject: [PATCH] Add new endpoint --- generator/src/main/kotlin/main.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/generator/src/main/kotlin/main.kt b/generator/src/main/kotlin/main.kt index f85a994..15348d5 100644 --- a/generator/src/main/kotlin/main.kt +++ b/generator/src/main/kotlin/main.kt @@ -22,8 +22,10 @@ fun main() { vHeaders = ApiEndpointsVHeaders, ) val html = generateHtml(filteredMessages) + val end = json.encodeToString(mapOf("end" to false)) File("../dist/v1.json").writeText(messagesV1) + File("../dist/end.json").writeText(end) File("../dist/mapping1.json").writeText(mappingV1) File("../dist/mapping2.json").writeText(mappingV2) File("../dist/index.html").writeText(html)