ApiDescriptionExtensions.GetFriendlyId Method

Generates an URI-friendly ID for the ApiDescription. E.g. "Get-Values-id_name" instead of "GetValues/{id}?name={name}"
<Extension()> _ 
Public Shared Function GetFriendlyId( _ 
ByVal description As ApiDescription
) As String
This language is not supported or no code example is available.
public static string GetFriendlyId( 
this ApiDescription description 
)
This language is not supported or no code example is available.
[Extension()] 
public:  
static String^ GetFriendlyId( 
ApiDescription^ description 
)
This language is not supported or no code example is available.
public  
Extension() 
static function GetFriendlyId( 
description : ApiDescription 
) : String;
This language is not supported or no code example is available.

Parameters

description
ApiDescription

The ApiDescription.

Return Value

string

The ID as a string.

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition