C# Class Swagger.Net.Serialization.SwaggerContractResolver

A contract resolver to deal with Swagger spec.
Inheritance: Newtonsoft.Json.Serialization.CamelCasePropertyNamesContractResolver
Afficher le fichier Open project: giacomelli/DG-Swagger.Net

Méthodes publiques

Méthode Description
SwaggerContractResolver ( ResourceListing resourceListing ) : System

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

ToCamelCase ( string source ) : string

Transform the string to camel case.

Méthodes protégées

Méthode Description
ResolvePropertyName ( string propertyName ) : string

Resolves the name of the property.

Method Details

ResolvePropertyName() protected méthode

Resolves the name of the property.
protected ResolvePropertyName ( string propertyName ) : string
propertyName string Name of the property.
Résultat string

SwaggerContractResolver() public méthode

Initializes a new SwaggerContractResolver class instance. The API resource listing.
public SwaggerContractResolver ( ResourceListing resourceListing ) : System
resourceListing ResourceListing
Résultat System

ToCamelCase() public static méthode

Transform the string to camel case.
public static ToCamelCase ( string source ) : string
source string The source.
Résultat string