Skip to content

Commit fa34567

Browse files
committed
Evaluate computeddefaultvalue
1 parent e9d8961 commit fa34567

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

tools/V4-CSDL-to-OpenAPI.xsl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1582,8 +1582,11 @@
15821582
and not(
15831583
@Name = $read-only
15841584
or @Name = $computed
1585+
or @Name = $computeddefaultvalue
15851586
or concat($qualifiedName, '/', @Name) = $computed-ext
15861587
or concat($aliasQualifiedName, '/', @Name) = $computed-ext
1588+
or concat($qualifiedName, '/', @Name) = $computeddefaultvalue-ext
1589+
or concat($aliasQualifiedName, '/', @Name) = $computeddefaultvalue-ext
15871590
)
15881591
)
15891592
or concat($qualifiedName, '/', @Name) = $mandatory

tools/tests/csdl-16.1.openapi3.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2194,9 +2194,6 @@
21942194
}
21952195
}
21962196
},
2197-
"required": [
2198-
"ID"
2199-
],
22002197
"title": "Supplier (for create)"
22012198
},
22022199
"ODataDemo.Supplier-update": {

tools/tests/csdl-16.1.swagger.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1961,9 +1961,6 @@
19611961
}
19621962
}
19631963
},
1964-
"required": [
1965-
"ID"
1966-
],
19671964
"title": "Supplier (for create)"
19681965
},
19691966
"ODataDemo.Supplier-update": {

0 commit comments

Comments
 (0)