C# 클래스 Nancy.Swagger.SwaggerConfig

파일 보기 프로젝트 열기: khellang/Nancy.Swagger 1 사용 예제들

공개 메소드들

메소드 설명
DefaultModelIdConvention ( Type type ) : string

Returns a unique model id for the given type.

Returns the type's name. If this id was resolved by a different type first, prepend the last part of the type's namespace and check again. And so on.

DefaultNicknameConvention ( string path, HttpMethod method, Operation route ) : string

Returns a unique id for the given route that can be used by tools reading the output for further and easier manipulation.

비공개 메소드들

메소드 설명
SwaggerConfig ( ) : System

메소드 상세

DefaultModelIdConvention() 공개 정적인 메소드

Returns a unique model id for the given type.
Returns the type's name. If this id was resolved by a different type first, prepend the last part of the type's namespace and check again. And so on.
public static DefaultModelIdConvention ( Type type ) : string
type System.Type
리턴 string

DefaultNicknameConvention() 공개 정적인 메소드

Returns a unique id for the given route that can be used by tools reading the output for further and easier manipulation.
public static DefaultNicknameConvention ( string path, HttpMethod method, Operation route ) : string
path string
method HttpMethod
route Operation The route for which a nickname is returned.
리턴 string