mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-07-13 15:54:35 -05:00
Put graphql under api (#549)
This commit is contained in:
@@ -106,13 +106,15 @@ object JavalinSetup {
|
||||
}
|
||||
|
||||
app.routes {
|
||||
path("api/v1/") {
|
||||
path("api/") {
|
||||
path("v1/") {
|
||||
GlobalAPI.defineEndpoints()
|
||||
MangaAPI.defineEndpoints()
|
||||
}
|
||||
GraphQL.defineEndpoints()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private fun getOpenApiOptions(): OpenApiOptions {
|
||||
val applicationInfo = Info().apply {
|
||||
|
||||
Reference in New Issue
Block a user