Class JsonSchemaMapperContext
- java.lang.Object
-
- software.amazon.smithy.jsonschema.JsonSchemaMapperContext
-
public class JsonSchemaMapperContext extends java.lang.ObjectContext for a JSON schema mapping.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JsonSchemaConfiggetConfig()Gets the JSON schema configuration object.ModelgetModel()Gets the Smithy model being converted.ShapegetShape()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.
-
-