修改显示模式
This commit is contained in:
@@ -92,7 +92,7 @@ namespace NX.ERP.WebAPi
|
|||||||
// By default, this will be controller name but you can use the "GroupActionsBy" option to
|
// By default, this will be controller name but you can use the "GroupActionsBy" option to
|
||||||
// override with any value.
|
// override with any value.
|
||||||
//
|
//
|
||||||
//c.GroupActionsBy(apiDesc => apiDesc.HttpMethod.ToString());
|
c.GroupActionsBy(apiDesc => apiDesc.ActionDescriptor.ControllerDescriptor.ControllerName);
|
||||||
|
|
||||||
// You can also specify a custom sort order for groups (as defined by "GroupActionsBy") to dictate
|
// You can also specify a custom sort order for groups (as defined by "GroupActionsBy") to dictate
|
||||||
// the order in which operations are listed. For example, if the default grouping is in place
|
// the order in which operations are listed. For example, if the default grouping is in place
|
||||||
@@ -221,7 +221,7 @@ namespace NX.ERP.WebAPi
|
|||||||
// It can be set to "None" (default), "List" (shows operations for each resource),
|
// It can be set to "None" (default), "List" (shows operations for each resource),
|
||||||
// or "Full" (fully expanded: shows operations and their details).
|
// or "Full" (fully expanded: shows operations and their details).
|
||||||
//
|
//
|
||||||
//c.DocExpansion(DocExpansion.List);
|
c.DocExpansion(DocExpansion.List);
|
||||||
|
|
||||||
// Specify which HTTP operations will have the 'Try it out!' option. An empty paramter list disables
|
// Specify which HTTP operations will have the 'Try it out!' option. An empty paramter list disables
|
||||||
// it for all operations.
|
// it for all operations.
|
||||||
|
|||||||
Reference in New Issue
Block a user