- Core.ComputedDefaultValue means property is not required on create
- OData V2 EntitySet elements may have Documentation child elements
- Add cli support for maximum level of containment navigation properties using
--levels
- Reduced default maximum level of containment navigation properties from 5 to 4
- Inheritance across schemas is now correctly processed
- Annotations for model elements on other schemas are now correctly processed
- Edm.Decimal with floating scale and precision 34 uses the newly registered OpenAPI format
decimal128 - Edm.Binary and Edm.Stream in OpenAPI 3.1 use
contentEncodingwith a value ofbase64url.
- Refactored code without functional changes, added
exportsinpackage.jsonto prevent unintended use of package-internal modules
- Add cli support for a default title if none is annotated using
--title - Add cli support for a default description if none is annotated using
--description, works with diagram
- Path templates for decimal key properties in parentheses now correctly do not have the single quotes
- Support to skip the
$batchpath using the CLI parameter--skipBatchPath, it will skip the generation always
- Support for
FilterSegmentSupportedproperty ofUpdateRestrictionsandDeleteRestrictions
- Support for OData V2
- Use stringifyStream for generating JSON
- Dynamic capabilities using
Path=(XML) or$Path(JSON) are now treated astrue
- Define operation-specific HTTP error response status codes with descriptions via
ErrorResponsesproperty of certain annotations
- Option
-o/--openapi-versionto set the OpenAPI version - version will be used foropenapioutput property without checks. - Support for OpenAPI version 3.1.0.
- Recognize namespace-qualified annotations without vocabulary reference
- Schema for custom headers and custom query options with annotation
JSON.Schema. - Schema for action/function parameters with annotation
JSON.Schema.
Capabilities.UpdateMethodto use for examplePUTinstead ofPATCH.
- Custom headers and custom query options, see example
custom-parameters.xmland its outputcustom-parameters.openapi3.json.
- Path templates for function parameters in parentheses within the path part now exclude the single quotes that are required for e.g.
Edm.Stringvalues. Instead the quotes have to be provided in the parameter value. This "breaking" change is necessary to allow null values and empty string values as function parameters.
- Non-trivial action and function import parameters are now depicted in the diagram.
- External annotations targeting a function overload with collection-valued parameters are now correctly recognized.
- Schemas for create allow linking to existing entities for single-valued non-nullable non-containment navigation properties.
- Paths for bound actions and functions only on entity sets, singletons, and containment navigation properties.
-
Schema Objects for
-createand-updateonly advertise "deep" insert/update for containment navigation properties. Non-containment navigation properties are no longer mentioned.Note: all Schema Objects for structured types implicitly allow additional properties, so arbitrary "deep" requests are still allowed.