Package springfox.documentation.schema
Class DefaultGenericTypeNamingStrategy
- java.lang.Object
-
- springfox.documentation.schema.DefaultGenericTypeNamingStrategy
-
- All Implemented Interfaces:
GenericTypeNamingStrategy
public class DefaultGenericTypeNamingStrategy extends java.lang.Object implements GenericTypeNamingStrategy
Strategy that uses «, », and comma in generic type names
-
-
Constructor Summary
Constructors Constructor Description DefaultGenericTypeNamingStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCloseGeneric()java.lang.StringgetOpenGeneric()java.lang.StringgetTypeListDelimiter()
-
-
-
Method Detail
-
getOpenGeneric
public java.lang.String getOpenGeneric()
- Specified by:
getOpenGenericin interfaceGenericTypeNamingStrategy- Returns:
- the string used to denote the beginning of a generic i.e. the < in List<String>
-
getCloseGeneric
public java.lang.String getCloseGeneric()
- Specified by:
getCloseGenericin interfaceGenericTypeNamingStrategy- Returns:
- the string used to denote the beginning of a generic i.e. the > in List<String>
-
getTypeListDelimiter
public java.lang.String getTypeListDelimiter()
- Specified by:
getTypeListDelimiterin interfaceGenericTypeNamingStrategy- Returns:
- the string used to denote the beginning of a generic i.e. the , in Map<String,String>
-
-