C# 클래스 Swagger.Net.Serialization.SwaggerContractResolver

A contract resolver to deal with Swagger spec.
상속: Newtonsoft.Json.Serialization.CamelCasePropertyNamesContractResolver
파일 보기 프로젝트 열기: giacomelli/DG-Swagger.Net

공개 메소드들

메소드 설명
SwaggerContractResolver ( ResourceListing resourceListing ) : System

Initializes a new SwaggerContractResolver class instance. The API resource listing.

ToCamelCase ( string source ) : string

Transform the string to camel case.

보호된 메소드들

메소드 설명
ResolvePropertyName ( string propertyName ) : string

Resolves the name of the property.

메소드 상세

ResolvePropertyName() 보호된 메소드

Resolves the name of the property.
protected ResolvePropertyName ( string propertyName ) : string
propertyName string Name of the property.
리턴 string

SwaggerContractResolver() 공개 메소드

Initializes a new SwaggerContractResolver class instance. The API resource listing.
public SwaggerContractResolver ( ResourceListing resourceListing ) : System
resourceListing ResourceListing
리턴 System

ToCamelCase() 공개 정적인 메소드

Transform the string to camel case.
public static ToCamelCase ( string source ) : string
source string The source.
리턴 string