Skip to content

Commit

Permalink
Change type
Browse files Browse the repository at this point in the history
  • Loading branch information
ralfhandl committed Aug 9, 2024
1 parent a785048 commit c1e3a3f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions vocabularies/Org.OData.Core.V1.json
Original file line number Diff line number Diff line change
Expand Up @@ -652,6 +652,7 @@
"OptionalParameterType": {
"$Kind": "ComplexType",
"DefaultValue": {
"$Type": "Edm.PrimitiveType",
"$Nullable": true,
"@Core.Description": "Default value for an optional parameter of primitive or enumeration type, using the same rules as the `cast` function in URLs.",
"@Core.LongDescription": "If no explicit DefaultValue is specified, the service is free on how to interpret omitting the parameter from the request. For example, a service might interpret an omitted optional parameter `KeyDate` as having the current date."
Expand Down
2 changes: 1 addition & 1 deletion vocabularies/Org.OData.Core.V1.md
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ Any simple identifier | Any type listed in `Validation.OpenPropertyTypeConstrain

Property|Type|Description
:-------|:---|:----------
[DefaultValue](Org.OData.Core.V1.xml#L512)|String?|Default value for an optional parameter of primitive or enumeration type, using the same rules as the `cast` function in URLs.<br>If no explicit DefaultValue is specified, the service is free on how to interpret omitting the parameter from the request. For example, a service might interpret an omitted optional parameter `KeyDate` as having the current date.
[DefaultValue](Org.OData.Core.V1.xml#L512)|PrimitiveType?|Default value for an optional parameter of primitive or enumeration type, using the same rules as the `cast` function in URLs.<br>If no explicit DefaultValue is specified, the service is free on how to interpret omitting the parameter from the request. For example, a service might interpret an omitted optional parameter `KeyDate` as having the current date.

<a name="LocalDateTime"></a>
## [LocalDateTime](Org.OData.Core.V1.xml#L531)
Expand Down
2 changes: 1 addition & 1 deletion vocabularies/Org.OData.Core.V1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ Any simple identifier | Any type listed in `Validation.OpenPropertyTypeConstrain
<Annotation Term="Core.LongDescription" String="All parameters marked as optional must come after any parameters not marked as optional. The binding parameter must not be marked as optional." />
</Term>
<ComplexType Name="OptionalParameterType">
<Property Name="DefaultValue" Type="Edm.String" Nullable="true">
<Property Name="DefaultValue" Type="Edm.PrimitiveType" Nullable="true">
<Annotation Term="Core.Description" String="Default value for an optional parameter of primitive or enumeration type, using the same rules as the `cast` function in URLs." />
<Annotation Term="Core.LongDescription" String="If no explicit DefaultValue is specified, the service is free on how to interpret omitting the parameter from the request. For example, a service might interpret an omitted optional parameter `KeyDate` as having the current date." />
</Property>
Expand Down

0 comments on commit c1e3a3f

Please sign in to comment.