public class ValidationApi extends Object
| Constructor and Description |
|---|
ValidationApi() |
ValidationApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
void |
validateAPI(String query,
String ifNoneMatch)
Check Given API Context Name already Exists
Using this operation, you can check a given API context is already used.
|
okhttp3.Call |
validateAPIAsync(String query,
String ifNoneMatch,
ApiCallback<Void> _callback)
Check Given API Context Name already Exists (asynchronously)
Using this operation, you can check a given API context is already used.
|
okhttp3.Call |
validateAPICall(String query,
String ifNoneMatch,
ApiCallback _callback)
Build call for validateAPI
|
ApiResponse<Void> |
validateAPIWithHttpInfo(String query,
String ifNoneMatch)
Check Given API Context Name already Exists
Using this operation, you can check a given API context is already used.
|
AsyncAPISpecificationValidationResponseDTO |
validateAsyncAPISpecification(Boolean returnContent,
String url,
File file)
Validate an AsyncAPI Specification
This operation can be used to validate and AsyncAPI Specification and retrieve a summary.
|
okhttp3.Call |
validateAsyncAPISpecificationAsync(Boolean returnContent,
String url,
File file,
ApiCallback<AsyncAPISpecificationValidationResponseDTO> _callback)
Validate an AsyncAPI Specification (asynchronously)
This operation can be used to validate and AsyncAPI Specification and retrieve a summary.
|
okhttp3.Call |
validateAsyncAPISpecificationCall(Boolean returnContent,
String url,
File file,
ApiCallback _callback)
Build call for validateAsyncAPISpecification
|
ApiResponse<AsyncAPISpecificationValidationResponseDTO> |
validateAsyncAPISpecificationWithHttpInfo(Boolean returnContent,
String url,
File file)
Validate an AsyncAPI Specification
This operation can be used to validate and AsyncAPI Specification and retrieve a summary.
|
ApiEndpointValidationResponseDTO |
validateEndpoint(String endpointUrl,
String apiId)
Check Whether Given Endpoint URL is Valid
Using this operation, it is possible check whether the given API endpoint url is a valid url
|
okhttp3.Call |
validateEndpointAsync(String endpointUrl,
String apiId,
ApiCallback<ApiEndpointValidationResponseDTO> _callback)
Check Whether Given Endpoint URL is Valid (asynchronously)
Using this operation, it is possible check whether the given API endpoint url is a valid url
|
okhttp3.Call |
validateEndpointCall(String endpointUrl,
String apiId,
ApiCallback _callback)
Build call for validateEndpoint
|
ApiResponse<ApiEndpointValidationResponseDTO> |
validateEndpointWithHttpInfo(String endpointUrl,
String apiId)
Check Whether Given Endpoint URL is Valid
Using this operation, it is possible check whether the given API endpoint url is a valid url
|
GraphQLValidationResponseDTO |
validateGraphQLSchema(File file)
Validate a GraphQL SDL
This operation can be used to validate a graphQL definition and retrieve a summary.
|
okhttp3.Call |
validateGraphQLSchemaAsync(File file,
ApiCallback<GraphQLValidationResponseDTO> _callback)
Validate a GraphQL SDL (asynchronously)
This operation can be used to validate a graphQL definition and retrieve a summary.
|
okhttp3.Call |
validateGraphQLSchemaCall(File file,
ApiCallback _callback)
Build call for validateGraphQLSchema
|
ApiResponse<GraphQLValidationResponseDTO> |
validateGraphQLSchemaWithHttpInfo(File file)
Validate a GraphQL SDL
This operation can be used to validate a graphQL definition and retrieve a summary.
|
OpenAPIDefinitionValidationResponseDTO |
validateOpenAPIDefinition(Boolean returnContent,
String url,
File file,
String inlineAPIDefinition)
Validate an OpenAPI Definition
This operation can be used to validate an OpenAPI definition and retrieve a summary.
|
okhttp3.Call |
validateOpenAPIDefinitionAsync(Boolean returnContent,
String url,
File file,
String inlineAPIDefinition,
ApiCallback<OpenAPIDefinitionValidationResponseDTO> _callback)
Validate an OpenAPI Definition (asynchronously)
This operation can be used to validate an OpenAPI definition and retrieve a summary.
|
okhttp3.Call |
validateOpenAPIDefinitionCall(Boolean returnContent,
String url,
File file,
String inlineAPIDefinition,
ApiCallback _callback)
Build call for validateOpenAPIDefinition
|
ApiResponse<OpenAPIDefinitionValidationResponseDTO> |
validateOpenAPIDefinitionWithHttpInfo(Boolean returnContent,
String url,
File file,
String inlineAPIDefinition)
Validate an OpenAPI Definition
This operation can be used to validate an OpenAPI definition and retrieve a summary.
|
WSDLValidationResponseDTO |
validateWSDLDefinition(String url,
File file)
Validate a WSDL Definition
This operation can be used to validate a WSDL definition and retrieve a summary.
|
okhttp3.Call |
validateWSDLDefinitionAsync(String url,
File file,
ApiCallback<WSDLValidationResponseDTO> _callback)
Validate a WSDL Definition (asynchronously)
This operation can be used to validate a WSDL definition and retrieve a summary.
|
okhttp3.Call |
validateWSDLDefinitionCall(String url,
File file,
ApiCallback _callback)
Build call for validateWSDLDefinition
|
ApiResponse<WSDLValidationResponseDTO> |
validateWSDLDefinitionWithHttpInfo(String url,
File file)
Validate a WSDL Definition
This operation can be used to validate a WSDL definition and retrieve a summary.
|
public ValidationApi()
public ValidationApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call validateAPICall(String query, String ifNoneMatch, ApiCallback _callback) throws ApiException
query - **Search condition**. You can search in attributes by using an **\"<attribute>:\"** modifier. Eg. \"name:wso2\" will match an API if the provider of the API is exactly \"wso2\". Supported attribute modifiers are [** version, context, name **] If no advanced attribute modifier has been specified, search will match the given query string against API Name. (required)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic void validateAPI(String query, String ifNoneMatch) throws ApiException
query - **Search condition**. You can search in attributes by using an **\"<attribute>:\"** modifier. Eg. \"name:wso2\" will match an API if the provider of the API is exactly \"wso2\". Supported attribute modifiers are [** version, context, name **] If no advanced attribute modifier has been specified, search will match the given query string against API Name. (required)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> validateAPIWithHttpInfo(String query, String ifNoneMatch) throws ApiException
query - **Search condition**. You can search in attributes by using an **\"<attribute>:\"** modifier. Eg. \"name:wso2\" will match an API if the provider of the API is exactly \"wso2\". Supported attribute modifiers are [** version, context, name **] If no advanced attribute modifier has been specified, search will match the given query string against API Name. (required)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call validateAPIAsync(String query, String ifNoneMatch, ApiCallback<Void> _callback) throws ApiException
query - **Search condition**. You can search in attributes by using an **\"<attribute>:\"** modifier. Eg. \"name:wso2\" will match an API if the provider of the API is exactly \"wso2\". Supported attribute modifiers are [** version, context, name **] If no advanced attribute modifier has been specified, search will match the given query string against API Name. (required)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call validateAsyncAPISpecificationCall(Boolean returnContent, String url, File file, ApiCallback _callback) throws ApiException
returnContent - Specify whether to return the full content of the AsyncAPI specification in the response. This is only applicable when using url based validation (optional, default to false)url - AsyncAPI definition url (optional)file - AsyncAPI definition as a file (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic AsyncAPISpecificationValidationResponseDTO validateAsyncAPISpecification(Boolean returnContent, String url, File file) throws ApiException
returnContent - Specify whether to return the full content of the AsyncAPI specification in the response. This is only applicable when using url based validation (optional, default to false)url - AsyncAPI definition url (optional)file - AsyncAPI definition as a file (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<AsyncAPISpecificationValidationResponseDTO> validateAsyncAPISpecificationWithHttpInfo(Boolean returnContent, String url, File file) throws ApiException
returnContent - Specify whether to return the full content of the AsyncAPI specification in the response. This is only applicable when using url based validation (optional, default to false)url - AsyncAPI definition url (optional)file - AsyncAPI definition as a file (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call validateAsyncAPISpecificationAsync(Boolean returnContent, String url, File file, ApiCallback<AsyncAPISpecificationValidationResponseDTO> _callback) throws ApiException
returnContent - Specify whether to return the full content of the AsyncAPI specification in the response. This is only applicable when using url based validation (optional, default to false)url - AsyncAPI definition url (optional)file - AsyncAPI definition as a file (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call validateEndpointCall(String endpointUrl, String apiId, ApiCallback _callback) throws ApiException
endpointUrl - API endpoint url (required)apiId - (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic ApiEndpointValidationResponseDTO validateEndpoint(String endpointUrl, String apiId) throws ApiException
endpointUrl - API endpoint url (required)apiId - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiEndpointValidationResponseDTO> validateEndpointWithHttpInfo(String endpointUrl, String apiId) throws ApiException
endpointUrl - API endpoint url (required)apiId - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call validateEndpointAsync(String endpointUrl, String apiId, ApiCallback<ApiEndpointValidationResponseDTO> _callback) throws ApiException
endpointUrl - API endpoint url (required)apiId - (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call validateGraphQLSchemaCall(File file, ApiCallback _callback) throws ApiException
file - Definition to upload as a file (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic GraphQLValidationResponseDTO validateGraphQLSchema(File file) throws ApiException
file - Definition to upload as a file (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<GraphQLValidationResponseDTO> validateGraphQLSchemaWithHttpInfo(File file) throws ApiException
file - Definition to upload as a file (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call validateGraphQLSchemaAsync(File file, ApiCallback<GraphQLValidationResponseDTO> _callback) throws ApiException
file - Definition to upload as a file (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call validateOpenAPIDefinitionCall(Boolean returnContent, String url, File file, String inlineAPIDefinition, ApiCallback _callback) throws ApiException
returnContent - Specify whether to return the full content of the OpenAPI definition in the response. This is only applicable when using url based validation (optional, default to false)url - OpenAPI definition url (optional)file - OpenAPI definition as a file (optional)inlineAPIDefinition - Inline content of the OpenAPI definition (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic OpenAPIDefinitionValidationResponseDTO validateOpenAPIDefinition(Boolean returnContent, String url, File file, String inlineAPIDefinition) throws ApiException
returnContent - Specify whether to return the full content of the OpenAPI definition in the response. This is only applicable when using url based validation (optional, default to false)url - OpenAPI definition url (optional)file - OpenAPI definition as a file (optional)inlineAPIDefinition - Inline content of the OpenAPI definition (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<OpenAPIDefinitionValidationResponseDTO> validateOpenAPIDefinitionWithHttpInfo(Boolean returnContent, String url, File file, String inlineAPIDefinition) throws ApiException
returnContent - Specify whether to return the full content of the OpenAPI definition in the response. This is only applicable when using url based validation (optional, default to false)url - OpenAPI definition url (optional)file - OpenAPI definition as a file (optional)inlineAPIDefinition - Inline content of the OpenAPI definition (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call validateOpenAPIDefinitionAsync(Boolean returnContent, String url, File file, String inlineAPIDefinition, ApiCallback<OpenAPIDefinitionValidationResponseDTO> _callback) throws ApiException
returnContent - Specify whether to return the full content of the OpenAPI definition in the response. This is only applicable when using url based validation (optional, default to false)url - OpenAPI definition url (optional)file - OpenAPI definition as a file (optional)inlineAPIDefinition - Inline content of the OpenAPI definition (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call validateWSDLDefinitionCall(String url, File file, ApiCallback _callback) throws ApiException
url - Definition url (optional)file - Definition to upload as a file (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic WSDLValidationResponseDTO validateWSDLDefinition(String url, File file) throws ApiException
url - Definition url (optional)file - Definition to upload as a file (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<WSDLValidationResponseDTO> validateWSDLDefinitionWithHttpInfo(String url, File file) throws ApiException
url - Definition url (optional)file - Definition to upload as a file (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call validateWSDLDefinitionAsync(String url, File file, ApiCallback<WSDLValidationResponseDTO> _callback) throws ApiException
url - Definition url (optional)file - Definition to upload as a file (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2021 WSO2 Inc. All rights reserved.