Package org.mockserver.model
Class JsonSchemaBody
- java.lang.Object
-
- org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
-
- org.mockserver.model.ObjectWithJsonToString
-
- org.mockserver.model.Not
-
- org.mockserver.model.Body<String>
-
- org.mockserver.model.JsonSchemaBody
-
-
Constructor Summary
Constructors Constructor Description JsonSchemaBody(String jsonSchema)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Map<String,ParameterStyle>getParameterStyles()StringgetValue()inthashCode()static JsonSchemaBodyjsonSchema(String jsonSchema)static JsonSchemaBodyjsonSchemaFromResource(String jsonSchemaPath)JsonSchemaBodywithParameterStyles(Map<String,ParameterStyle> parameterStyles)-
Methods inherited from class org.mockserver.model.Body
getCharset, getContentType, getOptional, getRawBytes, getType, withOptional
-
Methods inherited from class org.mockserver.model.ObjectWithJsonToString
toString
-
Methods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
fieldsExcludedFromEqualsAndHashCode
-
-
-
-
Constructor Detail
-
JsonSchemaBody
public JsonSchemaBody(String jsonSchema)
-
-
Method Detail
-
jsonSchema
public static JsonSchemaBody jsonSchema(String jsonSchema)
-
jsonSchemaFromResource
public static JsonSchemaBody jsonSchemaFromResource(String jsonSchemaPath)
-
getParameterStyles
public Map<String,ParameterStyle> getParameterStyles()
-
withParameterStyles
public JsonSchemaBody withParameterStyles(Map<String,ParameterStyle> parameterStyles)
-
-