Class JsonSchemaMapperContext
- java.lang.Object
-
- software.amazon.smithy.jsonschema.JsonSchemaMapperContext
-
public class JsonSchemaMapperContext extends java.lang.Object
Context for a JSON schema mapping.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JsonSchemaConfig
getConfig()
Gets the JSON schema configuration object.Model
getModel()
Gets the Smithy model being converted.Shape
getShape()
Gets the Smithy shape being mapped.
-
-
-
Method Detail
-
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.
-
-