Skip to content

Commit 0f3f58b

Browse files
author
Roberto Sora
committed
change install method /pkgs/tools/installed to POST to please firefox
1 parent 854317a commit 0f3f58b

File tree

8 files changed

+49
-12
lines changed

8 files changed

+49
-12
lines changed

design/pkgs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ var _ = Service("tools", func() {
6464
Payload(ToolPayload)
6565
Result(Operation)
6666
HTTP(func() {
67-
PUT("/pkgs/tools/installed")
67+
POST("/pkgs/tools/installed")
6868
Response(StatusOK)
6969
})
7070
})

gen/http/cli/arduino_create_agent/cli.go

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/http/openapi.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

gen/http/openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ paths:
122122
$ref: '#/definitions/ToolsToolResponseCollection'
123123
schemes:
124124
- http
125-
put:
125+
post:
126126
tags:
127127
- tools
128128
summary: install tools

gen/http/tools/client/encode_decode.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/http/tools/server/server.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/indexes/views/view.go

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/tools/views/view.go

Lines changed: 27 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)