ASP.NET Web Api 2 Documentation splitting? -


In a large system, where there is an API for many resources, I want to divide in some configurable manner.

As they were different apis.

So in the main page of the web API I have a list of 'resources'.

We say: Contact management [Here I want to manage 'contact' resources, 'address' resources, etc. Managing directives [product resources, order processing, delivery resources, remaining resources, etc.] Management of products [product resources, category processing, etc]

So for API users to understand this on easy work Which methods should be kept in mind. Apart from this, as you can see, different segments use the same resources, that means if I change anything on product resources, both documentation (ideally) automatic Must be updated in the form, which includes version information, etc.

Edit:

  Public Action Index () {ViewBag.DocumentationProvider = Configuration.Services.GetDocumentationProvider (); See Return (Configuration Services. Gate API Explorer (.) APD Cascication); }  

This is my index action action on the controller, not sure what you mean.

Do you have help center < / Code> have seen? If you are looking at that the index operation of this controller displays information about all the controllers, if each resource is displayed by an administrator, then only you will see the ApiDescription should be able to filter.


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -