That’s framework dependent, it doesn’t make sense to document “what’s hidden”. So depending on how you generate the definition, it may be supported.
If you are using swagger-core, there’s a SwaggerSpecFilter that does just this. > On Nov 8, 2016, at 9:25 AM, Gregg Fiehler <[email protected]> wrote: > > I am wondering if there is a way to make some information about an api only > visible to certain users. Basically there is some information I would like > to add for internal users of the api who maintain it, versus external users > who just use the api. > > Any suggestions would be appreciated. > > Cheers > Gregg > > -- > 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] > <mailto:[email protected]>. > For more options, visit https://groups.google.com/d/optout > <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.
