C# Класс Microsoft.DocAsCode.Build.RestApi.RestApiHelper

Показать файл Открыть проект

Открытые методы

Метод Описание
FormatDefinitionSinglePath ( string reference ) : string

Reverse to reference unescape described in http://tools.ietf.org/html/rfc6901#section-4

FormatReferenceFullPath ( string reference ) : string>.Tuple

When the reference starts with '#/', treat it as URI Fragment Identifier Representation and decode. When the reference starts with '/', treat it as JSON String Representation and keep it as. Refer to: https://tools.ietf.org/html/rfc6901#section-5

Описание методов

FormatDefinitionSinglePath() публичный статический Метод

Reverse to reference unescape described in http://tools.ietf.org/html/rfc6901#section-4
public static FormatDefinitionSinglePath ( string reference ) : string
reference string
Результат string

FormatReferenceFullPath() публичный статический Метод

When the reference starts with '#/', treat it as URI Fragment Identifier Representation and decode. When the reference starts with '/', treat it as JSON String Representation and keep it as. Refer to: https://tools.ietf.org/html/rfc6901#section-5
public static FormatReferenceFullPath ( string reference ) : string>.Tuple
reference string
Результат string>.Tuple