Skip to content

Commit c5c4b81

Browse files
committed
remove url and checksum attribute from ToolPayload endpoint
1 parent 604da4a commit c5c4b81

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

design/pkgs.go

+1-9
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,7 @@ var IndexPayload = Type("arduino.index", func() {
105105
})
106106

107107
var ToolPayload = Type("arduino.tool", func() {
108-
Description(`A tool is an executable program that can upload sketches.
109-
If url is absent the tool will be searched among the package index installed`)
108+
Description("A tool is an executable program that can upload sketches.")
110109
TypeName("ToolPayload")
111110

112111
Attribute("name", String, "The name of the tool", func() {
@@ -118,13 +117,6 @@ var ToolPayload = Type("arduino.tool", func() {
118117
Attribute("packager", String, "The packager of the tool", func() {
119118
Example("arduino")
120119
})
121-
122-
Attribute("url", String, `The url where the package can be found. Optional.
123-
If present checksum must also be present.`)
124-
125-
Attribute("checksum", String, `A checksum of the archive. Mandatory when url is present.
126-
This ensures that the package is downloaded correcly.`)
127-
128120
Required("name", "version", "packager")
129121
})
130122

0 commit comments

Comments
 (0)