Class 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 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
    • Constructor Detail

      • SwaggerConstants

        public SwaggerConstants()
        Deprecated.