A C D G H O P S W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- APIGenerator - Class in org.wso2.carbon.mediation.commons.rest.api.swagger
-
This class will generate synapse Rest API configuration skeleton from swagger definition
- APIGenerator(JsonObject) - Constructor for class org.wso2.carbon.mediation.commons.rest.api.swagger.APIGenerator
- APIGenException - Exception in org.wso2.carbon.mediation.commons.rest.api.swagger
-
Custom exception for API generation
- APIGenException() - Constructor for exception org.wso2.carbon.mediation.commons.rest.api.swagger.APIGenException
- APIGenException(String) - Constructor for exception org.wso2.carbon.mediation.commons.rest.api.swagger.APIGenException
- APIGenException(String, Throwable) - Constructor for exception org.wso2.carbon.mediation.commons.rest.api.swagger.APIGenException
- APIGenException(Throwable) - Constructor for exception org.wso2.carbon.mediation.commons.rest.api.swagger.APIGenException
C
- CONSUMES - Static variable in class org.wso2.carbon.mediation.commons.rest.api.swagger.SwaggerConstants
-
Swagger element "consumes" in http://swagger.io/specification/
- CONTENT_TYPE_JSON - Static variable in class org.wso2.carbon.mediation.commons.rest.api.swagger.SwaggerConstants
-
Content type "application/json" string for JSON messages
- CONTENT_TYPE_XML - Static variable in class org.wso2.carbon.mediation.commons.rest.api.swagger.SwaggerConstants
-
Content type "application/xml" string for JSON messages
- CONTENT_TYPE_YAML - Static variable in class org.wso2.carbon.mediation.commons.rest.api.swagger.SwaggerConstants
-
Content type "application/x-yaml" string for YAML messages
- convertYamlToJson(String) - Static method in class org.wso2.carbon.mediation.commons.rest.api.swagger.GenericApiObjectDefinition
-
A util method to convert from YAML to JSON.
D
- DEFAULT_CONSUMES - Static variable in class org.wso2.carbon.mediation.commons.rest.api.swagger.SwaggerConstants
-
Default consume mime types
- DEFAULT_ENCODING - Static variable in class org.wso2.carbon.mediation.commons.rest.api.swagger.SwaggerConstants
-
Default encoding for response messages generated from swagger generation
- DEFAULT_HOST - Static variable in class org.wso2.carbon.mediation.commons.rest.api.swagger.SwaggerConstants
-
Default host for Swagger API
- DEFAULT_PORT - Static variable in class org.wso2.carbon.mediation.commons.rest.api.swagger.SwaggerConstants
-
Default port for Swagger API
- DEFAULT_PRODUCES - Static variable in class org.wso2.carbon.mediation.commons.rest.api.swagger.SwaggerConstants
-
Default produce mime types
- DEFAULT_SWAGGER_REGISTRY_PATH - Static variable in class org.wso2.carbon.mediation.commons.rest.api.swagger.SwaggerConstants
-
Path to save the swagger document
G
- generateSynapseAPI() - Method in class org.wso2.carbon.mediation.commons.rest.api.swagger.APIGenerator
-
Generate API from provided swagger definition
- generateSynapseAPI(API) - Method in class org.wso2.carbon.mediation.commons.rest.api.swagger.APIGenerator
-
Generate API from provided swagger definition referring to the old API.
- generateUpdatedSynapseAPI(API) - Method in class org.wso2.carbon.mediation.commons.rest.api.swagger.APIGenerator
-
Function to generate updated API extracting the implementation from an existing API
- GenericApiObjectDefinition - Class in org.wso2.carbon.mediation.commons.rest.api.swagger
-
Generalized object structure for Swagger definitions of APIs.
- GenericApiObjectDefinition() - Constructor for class org.wso2.carbon.mediation.commons.rest.api.swagger.GenericApiObjectDefinition
- getHost(String) - Method in interface org.wso2.carbon.mediation.commons.rest.api.swagger.ServerConfig
-
Function to retrieve server host name by giving a transport.
- getHost(API) - Method in interface org.wso2.carbon.mediation.commons.rest.api.swagger.ServerConfig
-
Function to retrieve server host name for host entry in swagger definition (API).
- getOpenAPISpecification(boolean) - Method in class org.wso2.carbon.mediation.commons.rest.api.swagger.OpenAPIProcessor
-
Generate the OAS 3.0 definition for a given API.
- getPathMap(API) - Static method in class org.wso2.carbon.mediation.commons.rest.api.swagger.GenericApiObjectDefinition
-
Provides structure for the "paths" element in swagger definition.
- getUpdatedSwaggerFromApi(String, boolean, boolean) - Method in class org.wso2.carbon.mediation.commons.rest.api.swagger.OpenAPIProcessor
-
Update a given swagger definition of the Synapse API.
H
- HTTP_OK - Static variable in class org.wso2.carbon.mediation.commons.rest.api.swagger.SwaggerConstants
-
Success response code for swagger responses
O
- OpenAPIProcessor - Class in org.wso2.carbon.mediation.commons.rest.api.swagger
-
This class will generate the OAS 3.0 definition of the given synapse API.
- OpenAPIProcessor(API) - Constructor for class org.wso2.carbon.mediation.commons.rest.api.swagger.OpenAPIProcessor
- OpenAPIProcessor(API, ServerConfig) - Constructor for class org.wso2.carbon.mediation.commons.rest.api.swagger.OpenAPIProcessor
- OPERATION_HTTP_DELETE - Static variable in class org.wso2.carbon.mediation.commons.rest.api.swagger.SwaggerConstants
- OPERATION_HTTP_GET - Static variable in class org.wso2.carbon.mediation.commons.rest.api.swagger.SwaggerConstants
-
Swagger operations
- OPERATION_HTTP_HEAD - Static variable in class org.wso2.carbon.mediation.commons.rest.api.swagger.SwaggerConstants
- OPERATION_HTTP_OPTIONS - Static variable in class org.wso2.carbon.mediation.commons.rest.api.swagger.SwaggerConstants
- OPERATION_HTTP_PATCH - Static variable in class org.wso2.carbon.mediation.commons.rest.api.swagger.SwaggerConstants
- OPERATION_HTTP_POST - Static variable in class org.wso2.carbon.mediation.commons.rest.api.swagger.SwaggerConstants
- OPERATION_HTTP_PUT - Static variable in class org.wso2.carbon.mediation.commons.rest.api.swagger.SwaggerConstants
- org.wso2.carbon.mediation.commons.rest.api.swagger - package org.wso2.carbon.mediation.commons.rest.api.swagger
P
- PRODUCES - Static variable in class org.wso2.carbon.mediation.commons.rest.api.swagger.SwaggerConstants
-
Swagger element "produces" in http://swagger.io/specification/
S
- ServerConfig - Interface in org.wso2.carbon.mediation.commons.rest.api.swagger
-
This interface should be implemented
- SWAGGER_JSON_FILE_PATH - Static variable in class org.wso2.carbon.mediation.commons.rest.api.swagger.SwaggerConstants
- SwaggerConstants - Class in org.wso2.carbon.mediation.commons.rest.api.swagger
-
Constants used in Swagger definition generation.
- SwaggerConstants() - Constructor for class org.wso2.carbon.mediation.commons.rest.api.swagger.SwaggerConstants
W
- WSDL_EPR_PREFIX - Static variable in class org.wso2.carbon.mediation.commons.rest.api.swagger.SwaggerConstants
-
WSDL Prefix defined in transport listener in axis2.xml
All Classes All Packages