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