org.openapijsonschematools.client.components.schemas.JSONPatchRequestRemove.java public class JSONPatchRequestRemove
A class that contains necessary nested schema classes, and classes to store validated list and map payloads
| Modifier and Type | Class and Description |
|---|---|
| static class | JSONPatchRequestRemove.JSONPatchRequestRemove1 schema class |
| static class | JSONPatchRequestRemove.JSONPatchRequestRemoveMap output class for Map payloads |
| static class | JSONPatchRequestRemove.Op schema class |
| static class | JSONPatchRequestRemove.Path schema class |
| static class | JSONPatchRequestRemove.AdditionalProperties schema class |
public static class JSONPatchRequestRemove1
extends JsonSchema
A schema class that validates payloads
| Modifier and Type | Field and Description |
|---|---|
| static LinkedHashMap<String, KeywordValidator> | keywordToValidator new LinkedHashMap<>(Map.ofEntries( new KeywordEntry("type", new TypeValidator(Set.of(FrozenMap.class))), new KeywordEntry("properties", new PropertiesValidator(Map.ofEntries( new PropertyEntry("path", Path.class)), new PropertyEntry("op", Op.class)) ))), new KeywordEntry("required", new RequiredValidator(Set.of( "op", "path" ))), new KeywordEntry("additionalProperties", new AdditionalPropertiesValidator(AdditionalProperties.class)) )); |
| Modifier and Type | Method and Description |
|---|---|
| static JSONPatchRequestRemoveMap | validate(Map<String, String> arg, SchemaConfiguration configuration) |
public static class JSONPatchRequestRemoveMap
extends FrozenMap<String, String>
A class to store validated Map payloads
| Modifier and Type | Method and Description |
|---|---|
| static JSONPatchRequestRemoveMap | of(Map<String, String> arg, SchemaConfiguration configuration) |
| String | op() must be one of ["remove"] |
| String | path() |
type: Map<String, Object>
| Key | Type | Description | Notes |
|---|---|---|---|
| op | String | The operation to perform. | must be one of ["remove"] |
| path | String | A JSON Pointer path. |
public static class Op
extends JsonSchema
A schema class that validates payloads
The operation to perform.
| Modifier and Type | Field and Description |
|---|---|
| static LinkedHashMap<String, KeywordValidator> | keywordToValidator new LinkedHashMap<>(Map.ofEntries( new KeywordEntry("type", new TypeValidator(Set.of( String.class ))), new KeywordEntry("enum", new EnumValidator(Set.of( "remove" ))) )); |
| Modifier and Type | Method and Description |
|---|---|
| static String | validate(String arg, SchemaConfiguration configuration) |
public static class Path
extends StringJsonSchema
A schema class that validates payloads
A JSON Pointer path.
| Methods Inherited from class org.openapijsonschematools.client.schemas.StringJsonSchema |
|---|
| validate |
public static class AdditionalProperties
extends NotAnyTypeJsonSchema
A schema class that validates payloads
| Methods Inherited from class org.openapijsonschematools.client.schemas.NotAnyTypeJsonSchema |
|---|
| validate |