Class JsonSchemaMapperContext

java.lang.Object
software.amazon.smithy.jsonschema.JsonSchemaMapperContext

public class JsonSchemaMapperContext extends Object
Context for a JSON schema mapping.
  • Method Details

    • getModel

      public Model getModel()
      Gets the Smithy model being converted.
      Returns:
      Returns the Smithy model.
    • getShape

      public Shape getShape()
      Gets the Smithy shape being mapped.
      Returns:
      Returns the Smithy shape.
    • getConfig

      public JsonSchemaConfig getConfig()
      Gets the JSON schema configuration object.
      Returns:
      Returns the JSON schema config object.