You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
"originalUriBaseIds": {
"description": "The artifact location specified by each uriBaseId symbol on the machine where the tool originally ran.",
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/artifactLocation"
}
},
}
I would have expected that this would generate a class with additionalPropertiesas mentioned in the wiki, like:
I'm trying to generate types for the SARIF JSON Schema spec - https://json.schemastore.org/sarif-2.1.0.json
In particular they have defined:
I would have expected that this would generate a class with
additionalProperties
as mentioned in the wiki, like:However instead this generates a class without
additionalProperties
:This of course causes a crash when deserialising an object that uses the map
Is this a bug in the codegen, or am I "holding it wrong"?
The text was updated successfully, but these errors were encountered: