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
906 stars 139 forks source link

set uri path different api crawl #216

Open fibonacci998 opened 2 years ago

fibonacci998 commented 2 years 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 2 years ago

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

fibonacci998 commented 2 years 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