Closed ImanHz closed 1 year ago
Hi, version 2.0.0 will not work with dove and koa, you can try the https://github.com/feathersjs-ecosystem/feathers-swagger/tree/custom-methods-v5 branch directly from GitHub, because no npm version exists yet.
The way you added the docs property to the service instance should work, although you could add it as shown in the linked comment with less code.
Pre release has been published as 3.0.0-pre.0
I am using feathers-swagger version 2.0.0 and feathersjs version 5.0.0-pre.29 and trying to add swagger UI to my application. Configuration in the app.ts:
In one of my services, called countries, I first added required doc attribute to the service class (class.ts):
and then in the service.ts:
Running the app, causes an error:
Node version: 16.17.1 feathers-swagger: 2.0.0 feathersjs :5.0.0-pre.29 feathers/koa: 5.0.0-pre.29 os: linux, ubuntu 22