Conversation
|
Worth recording why this could never have worked, in case anyone picks it up. The server only called if (typeof plugin.registerWithRouter === 'function') {
plugin.registerWithRouter(asPluginRouter(app, router, plugin.id))
if (typeof plugin.getOpenApi === 'function') {
app.setPluginOpenApi(plugin.id, plugin.getOpenApi()) // <- inside the branch
}
}This plugin mounts with Fix proposed in SignalK/signalk-server#3004, along with a doc comment for Once that lands this becomes possible. Whether it is still wanted is a separate question — SignalK/signalk-server#2995 defines the track API server-side with its own OpenAPI description, and if that is the direction then this plugin becomes a provider behind it and has no routes of its own left to document. The v1 routes here would be the ones being superseded. Either way the branch needs redoing rather than rebasing: it targets the |
No description provided.