Class KeywordJsonSchemaCreator
- java.lang.Object
-
- step.handlers.javahandler.jsonschema.KeywordJsonSchemaCreator
-
public class KeywordJsonSchemaCreator extends Object
-
-
Constructor Summary
Constructors Constructor Description KeywordJsonSchemaCreator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected jakarta.json.JsonObject
createEmptyJsonSchema()
jakarta.json.JsonObject
createJsonSchemaForKeyword(Method method)
Creates a json schema for java method annotated withKeyword
annotationprotected jakarta.json.JsonObject
readJsonSchemaFromPlainText(String schema, Method method)
-
-
-
Method Detail
-
createJsonSchemaForKeyword
public jakarta.json.JsonObject createJsonSchemaForKeyword(Method method) throws JsonSchemaPreparationException
Creates a json schema for java method annotated withKeyword
annotation- Throws:
JsonSchemaPreparationException
-
createEmptyJsonSchema
protected jakarta.json.JsonObject createEmptyJsonSchema()
-
readJsonSchemaFromPlainText
protected jakarta.json.JsonObject readJsonSchemaFromPlainText(String schema, Method method) throws JsonSchemaPreparationException
- Throws:
JsonSchemaPreparationException
-
-