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
-
- org.mockserver.model.JsonSchemaBody
-
public class JsonSchemaBody extends Body
- Author:
- jamesdbloom
-
-
Constructor Summary
Constructors Constructor Description JsonSchemaBody(String jsonSchema)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getValue()
static JsonSchemaBody
jsonSchema(String jsonSchema)
static JsonSchemaBody
jsonSchemaFromResource(String jsonSchemaPath)
-
Methods inherited from class org.mockserver.model.Body
getCharset, getContentType, getRawBytes, getType
-
Methods inherited from class org.mockserver.model.ObjectWithJsonToString
toString
-
Methods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
equals, fieldsExcludedFromEqualsAndHashCode, hashCode, key
-
-
-
-
Constructor Detail
-
JsonSchemaBody
public JsonSchemaBody(String jsonSchema)
-
-
Method Detail
-
jsonSchema
public static JsonSchemaBody jsonSchema(String jsonSchema)
-
jsonSchemaFromResource
public static JsonSchemaBody jsonSchemaFromResource(String jsonSchemaPath)
-
-