OpenEdge.Web.DataObject.Writer.OpenAPI31ServiceWriter
- Last Updated: August 18, 2026
- 2 minute read
- OpenEdge
- Version 12.8
- Documentation
|
Method Summary
| Options | Name | Purpose | |
|---|---|---|---|
| AddNullableProperty (JsonObject) |
/**
Overrides 3.0.x behavior to remove explicit nullable property.
In OpenAPI 3.1.x with JSON Schema 2020-12, all fields are nullable by default
unless explicitly marked as required in the parent schema's required array.
@param JsonObject The schema object (no-op in 3.1.x - nullable is default)
*/
|
||
| ApplyFieldFormat (JsonObject, character) |
/**
Overrides 3.0.x behavior for binary field format.
In OpenAPI 3.1.x with JSON Schema 2020-12, binary data uses contentEncoding
and contentMediaType instead of the removed 'format: binary'.
@param JsonObject The schema object to apply format to
@param character The format value (e.g., 'date', 'int32', 'binary')
*/
|
||
| MarkRequiredField (JsonObject, character, character) |
/**
Overrides 3.0.x per-field required marking.
In OpenAPI 3.1.x with JSON Schema 2020-12, required is expressed as an array
on the parent items object, not as a boolean on individual field schemas.
This method is a no-op â'' required fields are applied by MarkRequiredFields instead.
@param JsonObject The field schema object (unused in 3.1.x)
*/
|
||
| MarkRequiredFields (JsonObject, character) |
/**
Overrides 3.0.x no-op to write a JSON Schema 2020-12 compliant required array.
Splits pRequiredFlds by comma and adds a 'required' array to the items schema
containing each unique field's name.
@param JsonObject The items schema object of the table
@param character Comma-delimited list of unique (required) field names
*/
|
Constructor Summary
| Options | Name | Purpose | |
|---|---|---|---|
| OpenAPI31ServiceWriter () |
|
Method Detail
AddNullableProperty (JsonObject)
|
||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ApplyFieldFormat (JsonObject, character)
|
||||||||||||||||||||||||||||
MarkRequiredField (JsonObject, character, character)
|
||||||||||||||||||||||||||||
MarkRequiredFields (JsonObject, character)
|
||||||||||||||||||||||||||||
Constructor Detail
STATIC OpenAPI31ServiceWriter () |
||||
|---|---|---|---|---|