public class SwaggerConstants extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CONSUMES
Swagger element "consumes" in http://swagger.io/specification/
|
static String |
CONTENT_TYPE_JSON
Content type "application/json" string for JSON messages
|
static String |
CONTENT_TYPE_XML
Content type "application/xml" string for JSON messages
|
static String |
CONTENT_TYPE_YAML
Content type "application/x-yaml" string for YAML messages
|
static String[] |
DEFAULT_CONSUMES
Default consume mime types
|
static String |
DEFAULT_ENCODING
Default encoding for response messages generated from swagger generation
|
static String |
DEFAULT_HOST
Default host for Swagger API
|
static int |
DEFAULT_PORT
Default port for Swagger API
|
static String[] |
DEFAULT_PRODUCES
Default produce mime types
|
static String |
DEFAULT_SWAGGER_REGISTRY_PATH
Path to save the swagger document
|
static int |
HTTP_OK
Success response code for swagger responses
|
static String |
OPERATION_HTTP_DELETE |
static String |
OPERATION_HTTP_GET
Swagger operations
|
static String |
OPERATION_HTTP_HEAD |
static String |
OPERATION_HTTP_OPTIONS |
static String |
OPERATION_HTTP_PATCH |
static String |
OPERATION_HTTP_POST |
static String |
OPERATION_HTTP_PUT |
static String |
PRODUCES
Swagger element "produces" in http://swagger.io/specification/
|
static String |
SWAGGER_JSON_FILE_PATH |
static String |
WSDL_EPR_PREFIX
WSDL Prefix defined in transport listener in axis2.xml
|
Constructor and Description |
---|
SwaggerConstants() |
public static final String CONTENT_TYPE_JSON
public static final String CONTENT_TYPE_XML
public static final String CONTENT_TYPE_YAML
public static final String DEFAULT_ENCODING
public static final int HTTP_OK
public static String CONSUMES
public static String PRODUCES
public static String DEFAULT_SWAGGER_REGISTRY_PATH
public static final String SWAGGER_JSON_FILE_PATH
public static String WSDL_EPR_PREFIX
public static final String OPERATION_HTTP_GET
public static final String OPERATION_HTTP_POST
public static final String OPERATION_HTTP_PUT
public static final String OPERATION_HTTP_PATCH
public static final String OPERATION_HTTP_DELETE
public static final String OPERATION_HTTP_OPTIONS
public static final String OPERATION_HTTP_HEAD
public static String[] DEFAULT_CONSUMES
public static String[] DEFAULT_PRODUCES
public static String DEFAULT_HOST
public static int DEFAULT_PORT
Copyright © 2021 WSO2. All rights reserved.