slanatech / swagger-stats

API Observability. Trace API calls and Monitor API performance, health and usage statistics in Node.js Microservices.
https://swaggerstats.io/
MIT License
888 stars 136 forks source link

set uri path different api crawl #216

Open fibonacci998 opened 1 year ago

fibonacci998 commented 1 year ago

Hi. I used swagger-stats in moleculer JS Framework like the example: example It served swagger-stats through abc.xyz/api/dashboard/#/ and crawl api statistic abc.xyz/api/... But I want to change to abc.xyz/admin/dashboard/#/ and crawl api statistic in abc.xyz/api/... Can you help me? Thanks.

sv2 commented 1 year ago

Try option uriPath https://swaggerstats.io/guide/conf.html

fibonacci998 commented 1 year ago

I tried uriPath, but it still can be accessed from abc.xyz/api/uriPath and abc.xzy/adming/uriPath. I cannot disable abx.xyz/api/uriPath