Skip to content

Commit

Permalink
fix: define items field to fix generation error
Browse files Browse the repository at this point in the history
2021/06/09 15:22:08 validating spec /.../aepp-sdk-go/api/compiler.json
The swagger spec at "/.../aepp-sdk-go/api/compiler.json" is invalid against swagger specification 2.0. see errors :
- items in definitions.ACI.properties.external_encoded_aci is required
  • Loading branch information
davidyuk committed Jun 9, 2021
1 parent 2ca70fb commit c688250
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion api/compiler.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@
"type": "object"
},
"external_encoded_aci": {
"type": "array"
"type": "array",
"items": {
"type": "object",
"properties": {}
}
},
"interface": {
"type": "string"
Expand Down

0 comments on commit c688250

Please sign in to comment.