Skip to content

Commit

Permalink
Merge pull request #1047 from mi0x/bugfix/fix-vertices-types-in-json-…
Browse files Browse the repository at this point in the history
…scheme

Change vertices properties from integer to number so they can be imported
  • Loading branch information
jgadsden authored Aug 6, 2024
2 parents 594b9aa + 32078fe commit 6678aa4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions td.vue/src/service/schema/threat-model-schema.V2.js
Original file line number Diff line number Diff line change
Expand Up @@ -393,11 +393,11 @@ export const schema = {
'properties': {
'x': {
'description': 'The horizontal value of the curve point',
'type': 'integer'
'type': 'number'
},
'y': {
'description': 'The vertical value of the curve point',
'type': 'integer'
'type': 'number'
}
},
'required': [ 'x', 'y' ]
Expand Down

0 comments on commit 6678aa4

Please sign in to comment.