Skip to content

Commit fab8809

Browse files
nkoesterlanguitar
andauthored
chore(openapi): document serving of public api only
Co-authored-by: Johannes Wienke <[email protected]>
1 parent b1855bd commit fab8809

File tree

1 file changed

+1
-0
lines changed
  • model-server/src/main/kotlin/org/modelix/model/server

1 file changed

+1
-0
lines changed

model-server/src/main/kotlin/org/modelix/model/server/Main.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ object Main {
240240
call.respondText("SwaggerUI is disabled")
241241
}
242242
} else {
243+
// we only serve the public API to the outside via swagger UI
243244
swaggerUI(path = "swagger", swaggerFile = "../api/model-server.yaml")
244245
}
245246
}

0 commit comments

Comments
 (0)