Class SwaggerConstants
- java.lang.Object
-
- org.wso2.carbon.mediation.transport.handlers.requestprocessors.swagger.SwaggerConstants
-
@Deprecated public class SwaggerConstants extends Object
Deprecated.Constants used in Swagger definition generation. This is deprecated and moved to org.wso2.carbon.mediation.commons.swagger.SwaggerConstants
-
-
Field Summary
Fields Modifier and Type Field Description static String
CONTENT_TYPE_JSON
Deprecated.Content type "application/json" string for JSON messagesstatic String
CONTENT_TYPE_YAML
Deprecated.Content type "application/x-yaml" string for YAML messagesstatic String
DEFAULT_ENCODING
Deprecated.Default encoding for response messages generated from swagger generationstatic int
HTTP_OK
Deprecated.Success response code for swagger responses
-
Constructor Summary
Constructors Constructor Description SwaggerConstants()
Deprecated.
-
-
-
Field Detail
-
CONTENT_TYPE_JSON
public static final String CONTENT_TYPE_JSON
Deprecated.Content type "application/json" string for JSON messages- See Also:
- Constant Field Values
-
CONTENT_TYPE_YAML
public static final String CONTENT_TYPE_YAML
Deprecated.Content type "application/x-yaml" string for YAML messages- See Also:
- Constant Field Values
-
DEFAULT_ENCODING
public static final String DEFAULT_ENCODING
Deprecated.Default encoding for response messages generated from swagger generation- See Also:
- Constant Field Values
-
HTTP_OK
public static final int HTTP_OK
Deprecated.Success response code for swagger responses- See Also:
- Constant Field Values
-
-