com.mangofactory.swagger.models
Interface GenericTypeNamingStrategy

All Known Implementing Classes:
DefaultGenericTypeNamingStrategy

public interface GenericTypeNamingStrategy

Strategy to provide the strings used while naming generic types in the swagger output


Method Summary
 java.lang.String getCloseGeneric()
           
 java.lang.String getOpenGeneric()
           
 java.lang.String getTypeListDelimiter()
           
 

Method Detail

getOpenGeneric

java.lang.String getOpenGeneric()
Returns:
the string used to denote the beginning of a generic i.e. the < in List<String>

getCloseGeneric

java.lang.String getCloseGeneric()
Returns:
the string used to denote the beginning of a generic i.e. the > in List<String>

getTypeListDelimiter

java.lang.String getTypeListDelimiter()
Returns:
the string used to denote the beginning of a generic i.e. the , in Map<String,String>