Class Smithy2OpenApi

java.lang.Object
software.amazon.smithy.openapi.fromsmithy.Smithy2OpenApi
All Implemented Interfaces:
SmithyBuildPlugin

public final class Smithy2OpenApi extends Object implements SmithyBuildPlugin
Converts Smithy to an OpenAPI model and saves it as a JSON file.

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 Details

    • Smithy2OpenApi

      public Smithy2OpenApi()
  • Method Details