public class RestSdk extends Object
| Constructor and Description |
|---|
RestSdk(File apiSpec,
String rootDir,
com.mulesoft.connectivity.rest.sdk.templating.api.RestSdkRunConfiguration runConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
RestSdk |
descriptor(File descriptor) |
RestSdk |
format(com.mulesoft.connectivity.rest.sdk.internal.webapi.SpecFormat format) |
void |
generateConnector(com.mulesoft.connectivity.rest.sdk.templating.api.ConnectorType connectorType,
Path outputDir,
com.mulesoft.connectivity.rest.sdk.templating.api.RestSdkRunConfiguration runConfiguration) |
com.mulesoft.connectivity.rest.sdk.internal.connectormodel.ConnectorModel |
getConnectorModel() |
public RestSdk format(com.mulesoft.connectivity.rest.sdk.internal.webapi.SpecFormat format)
public com.mulesoft.connectivity.rest.sdk.internal.connectormodel.ConnectorModel getConnectorModel()
throws IOException,
com.mulesoft.connectivity.rest.sdk.internal.descriptor.exception.DescriptorParsingException,
com.mulesoft.connectivity.rest.sdk.internal.webapi.exception.ModelGenerationException
IOExceptioncom.mulesoft.connectivity.rest.sdk.internal.descriptor.exception.DescriptorParsingExceptioncom.mulesoft.connectivity.rest.sdk.internal.webapi.exception.ModelGenerationExceptionCopyright © 2024. All rights reserved.