I had documentation in api blueprint format so to generate swagger docs I 
used apib2swagger node library: https://www.npmjs.com/package/apib2swagger

To create the swagger-ui support I use swagger-node-express library, and 
took the guide from here:
https://github.com/shawngong/Swagger-Node-Express-For-Existing-APIs

If it's not possible with these libaries I can switch to other ones.

Even if you're not familiar with a way to generate such documentation, I'm 
looking for the swagger-ui feature that provides that feature - if there is 
one I will find a way to generate docs in that format.

Thanks!

On Monday, December 12, 2016 at 6:22:22 PM UTC+2, Ron wrote:
>
> That depends on how you generate your spec as well. Different libraries 
> have different filtering mechanisms.
>
>  
>
>  
>
>  
>
> *From: *<[email protected] <javascript:>> on behalf of 
> Gibson <[email protected] <javascript:>>
> *Reply-To: *"[email protected] <javascript:>" <
> [email protected] <javascript:>>
> *Date: *Monday, 12 December 2016 at 16:34
> *To: *Swagger <[email protected] <javascript:>>
> *Subject: *Swagger-UI: Documentation sections permissions
>
>  
>
> Hi all, 
>
> I was wondering if you know of a way to expose specific APIs documentation 
> via permissions.
>
> I was thinking that the best way is to do it via tags: so all the APIs 
> will contain an "admin" tag but only some will contain a "customer1" tag, 
>
> and so customer1 will be able to see only he's APIs.
>
>  
>
> I looked everywhere and couldn't find a way to do this, can you please 
> help me?
>
>  
>
> Thanks in advance!
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Swagger" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to