That's why I said maybe Swashbuckle "has something like that".  ;)

If not...it should be added.  :p

On Tuesday, June 20, 2017 at 3:56:56 PM UTC-4, Ron wrote:
>
> Wrong language, Bryan. ;)
>
>  
>
> Julius, we don’t offer any .net solutions. I’ve already suggested a few 
> next steps.
>
>  
>
>  
>
>  
>
> *From: *<[email protected] <javascript:>> on behalf of Bryan 
> Nelson <[email protected] <javascript:>>
> *Reply-To: *"[email protected] <javascript:>" <
> [email protected] <javascript:>>
> *Date: *Tuesday, 20 June 2017 at 12:51
> *To: *Swagger <[email protected] <javascript:>>
> *Subject: *Re: How can I use Swagger to generate 
> documentation/specification for a subset of my APIs?
>
>  
>
> Perhaps I'm misunderstanding the ask here...but I've managed to suppress 
> documentation on certain operations in a class in the Java implementation 
> doing something like this: 
>
>  
>
> @POST
>
> @Path("myservice")
>
> @ApiOperation(value = "Undocumented",
>
> hidden = true)
>
> public Response getMyData(@Context SecurityContext securityContext, 
> @Context HttpHeaders headers, @Context HttpServletRequest servletRequest) 
> { 
>                    ...
>                }
>
>
> Notice the "hidden = true" element.  Perhaps Swashbuckle has something 
> like that which you can look into?
>
> On Tuesday, June 20, 2017 at 3:10:20 PM UTC-4, Julius Depulla wrote: 
>
> Hi Ron, 
>
>  
>
> Do you have or know a product that supports my use case scenario, either 
> your own or not.
>
> Many thanks for your help.
>
>
>
> On Tuesday, June 20, 2017 at 7:20:59 PM UTC+1, Ron wrote: 
>
> Swashbuckle is a community project and not one of our own. I don’t know if 
> it provides that functionality or not.
>
> I’d suggest referring to the project’s documentation, and if you can’t 
> find the answer, file a ticket on the project.
>
>  
>
>  
>
>  
>
> *From: *<[email protected]> on behalf of Julius Depulla <
> [email protected]>
> *Reply-To: *"[email protected]" <
> [email protected]>
> *Date: *Tuesday, 20 June 2017 at 7:31
> *To: *Swagger <[email protected]>
> *Subject: *Re: How can I use Swagger to generate 
> documentation/specification for a subset of my APIs?
>
>  
>
> Hi Ron, 
>
>  
>
> My API is built using ASP.NET <http://asp.net/> Web API. I am using 
> Swashbuckle Nuget package. 
>
> Can you please tell me which library supports my use case. Imagine I have 
> 7 or more operations/methods on my API and I want to make available only 3 
> of the operations to a specific client.
>
> I do want to provide swagger documentation for only the 3 operations and 
> make them available to the client. The other 4 operations, I can make 
> available to another client/integrator and provide documentation for the 
> other 4 operations. Basically, I am segmenting or grouping my operations in 
> my API and making the available to clients.
>
>  
>
> Which package you offer, does support this use case scenario. If  none of 
> your products support this, I may change my design. 
>
> Your feedback is greatly appreciated
>
>
> On Monday, June 19, 2017 at 9:39:23 PM UTC+1, Ron wrote: 
>
> That really depends on which library you use… can you provide more details?
>
>  
>
>  
>
>  
>
> *From: *<[email protected]> on behalf of Julius Depulla <
> [email protected]>
> *Reply-To: *"[email protected]" <
> [email protected]>
> *Date: *Monday, 19 June 2017 at 10:31
> *To: *Swagger <[email protected]>
> *Subject: *How can I use Swagger to generate documentation/specification 
> for a subset of my APIs?
>
>  
>
> I know swagger generates specification/documentation for all 
> operations/methods in an API.
>
> Can I configure swagger to generate documentation for a subset of the 
> operations/methods in the API.
>
> E.g. An API with 7 methods/operations, I only want to document/expose 3 
> out of the 7. 
>
>  
>
> How can I use Swagger to generate documentation/specification for a subset 
> of my APIs?
>
>  
>
> Does swagger support this use case scenario? If it does, how do I achieve 
> this?
>
> -- 
> 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] <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] <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