phybros / servertap

ServerTap is a REST API for Bukkit/Spigot/Paper Minecraft servers

Home Page:https://servertap.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpenApi spews tons of WARNs into the logs when viewing /swagger

phybros opened this issue · comments

This is new since I made some changes to the javalin-openapi version etc. The error is harmless, but barfs this into the server log when you visit /swagger:

[01:12:50 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: GET path: /v1/ping -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:50 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: GET path: /v1/server -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:50 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: POST path: /v1/server/exec -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:50 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: GET path: /v1/server/ops -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:50 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: POST path: /v1/server/ops -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:50 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: DELETE path: /v1/server/ops -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:50 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: GET path: /v1/server/whitelist -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:50 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: POST path: /v1/server/whitelist -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:50 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: GET path: /v1/worlds -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:50 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: POST path: /v1/worlds/save -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:50 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: GET path: /v1/worlds/:uuid -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:50 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: POST path: /v1/worlds/:uuid/save -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:50 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: GET path: /v1/scoreboard -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:50 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: GET path: /v1/scoreboard/:name -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:50 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: POST path: /v1/chat/broadcast -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:50 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: POST path: /v1/chat/tell -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:50 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: GET path: /v1/players -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:50 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: GET path: /v1/players/all -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:50 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: GET path: /v1/players/:uuid -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:50 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: GET path: /v1/players/:playerUuid/:worldUuid/inventory -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:50 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: POST path: /v1/economy/pay -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:50 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: POST path: /v1/economy/debit -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:50 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: GET path: /v1/economy -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:50 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: GET path: /v1/plugins -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: GET path: /v1/ping -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: GET path: /v1/server -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: POST path: /v1/server/exec -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: GET path: /v1/server/ops -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: POST path: /v1/server/ops -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: DELETE path: /v1/server/ops -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: GET path: /v1/server/whitelist -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: POST path: /v1/server/whitelist -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: GET path: /v1/worlds -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: POST path: /v1/worlds/save -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: GET path: /v1/worlds/:uuid -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: POST path: /v1/worlds/:uuid/save -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: GET path: /v1/scoreboard -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: GET path: /v1/scoreboard/:name -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: POST path: /v1/chat/broadcast -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: POST path: /v1/chat/tell -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: GET path: /v1/players -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: GET path: /v1/players/all -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: GET path: /v1/players/:uuid -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: GET path: /v1/players/:playerUuid/:worldUuid/inventory -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: POST path: /v1/economy/pay -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: POST path: /v1/economy/debit -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: GET path: /v1/economy -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: GET path: /v1/plugins -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: GET path: /v1/ping -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: GET path: /v1/server -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: POST path: /v1/server/exec -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: GET path: /v1/server/ops -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: POST path: /v1/server/ops -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: DELETE path: /v1/server/ops -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: GET path: /v1/server/whitelist -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: POST path: /v1/server/whitelist -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: GET path: /v1/worlds -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: POST path: /v1/worlds/save -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: GET path: /v1/worlds/:uuid -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: POST path: /v1/worlds/:uuid/save -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: GET path: /v1/scoreboard -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: GET path: /v1/scoreboard/:name -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: POST path: /v1/chat/broadcast -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: POST path: /v1/chat/tell -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: GET path: /v1/players -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: GET path: /v1/players/all -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: GET path: /v1/players/:uuid -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: GET path: /v1/players/:playerUuid/:worldUuid/inventory -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: POST path: /v1/economy/pay -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: POST path: /v1/economy/debit -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: GET path: /v1/economy -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:51 WARN]: [io.javalin.plugin.openapi.dsl.ExtractDocumentation] cannot match handler: GET path: /v1/plugins -- no Handler-type fields declared in class io.servertap.PluginEntrypoint
[01:12:52 WARN]: [io.javalin.plugin.openapi.JavalinOpenApi] A default response was added to the documentation of GET /v1/server/ops
[01:12:52 WARN]: [io.javalin.plugin.openapi.JavalinOpenApi] A default response was added to the documentation of GET /v1/worlds/{uuid}
[01:12:52 WARN]: [io.javalin.plugin.openapi.JavalinOpenApi] A default response was added to the documentation of GET /v1/scoreboard/{name}

Figured out the last part at least

[09:43:27 WARN]: [io.javalin.plugin.openapi.JavalinOpenApi] A default response was added to the documentation of GET /v1/server/ops
[09:43:27 WARN]: [io.javalin.plugin.openapi.JavalinOpenApi] A default response was added to the documentation of GET /v1/worlds/{uuid}
[09:43:27 WARN]: [io.javalin.plugin.openapi.JavalinOpenApi] A default response was added to the documentation of GET /v1/scoreboard/{name}

The OpenApi annotations had the wrong paths, and/or missing pathParams

It's now september and this is still a thing

commented

Let me check

@srmullaney this IS still a thing, I was just confirming again so I didn't forget about this issue :D.

commented

Omg, yes it is.

commented

I thought someone had fixed it, but it seems to be back.

commented

Screenshot 2021-09-16 193004

Sorry for the spam. Should have done all this in one post.

Still a thing

ya still a thing, i had to delete the plugin cuz i got discordSRV installed too and was spamming my discord console channel

commented

@phybros Sadly yeah this is still a thing lol

Submitted an issue here: javalin/javalin/issues/1450

any fix yet to this issue?

Fixed with the release of v0.5.0