public final class Smithy2OpenApi extends java.lang.Object implements SmithyBuildPlugin
This plugin requires a setting named "service" that is the Shape ID of the Smithy service shape to convert to OpenAPI.
This plugin is configured using OpenApiConfig
.
Constructor and Description |
---|
Smithy2OpenApi() |
Modifier and Type | Method and Description |
---|---|
void |
execute(PluginContext context)
Executes the plugin, creating any number of artifacts.
|
java.lang.String |
getName()
Gets the name of the plugin.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createServiceFactory, createServiceFactory, createServiceFactory, isSerial, requiresValidModel
public java.lang.String getName()
SmithyBuildPlugin
getName
in interface SmithyBuildPlugin
public void execute(PluginContext context)
SmithyBuildPlugin
execute
in interface SmithyBuildPlugin
context
- Plugin context for build execution.