Skip to content

Commit 5c199c1

Browse files
authored
Merge pull request #354 from arduino/devel
Fix firefox blocked put
2 parents 549558c + 8f30419 commit 5c199c1

File tree

9 files changed

+60
-13
lines changed

9 files changed

+60
-13
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22
arduino-create-agent
33
====================
44

5+
## GOA 2 refactoring
6+
The agent is currently transitioning to the v2 of the GOA framework for API management, please refer to the following
7+
[documentation](https://github.com/goadesign/goa/tree/v2) in order to install tools and libraries
8+
9+
10+
i.e. to regenerate code from design use:
11+
```bash
12+
goa gen github.com/arduino/arduino-create-agent/design
13+
```
14+
515
## Installation
616
Get the latest version of the Agent for all supported platforms:
717

@@ -459,4 +469,4 @@ By making a contribution to this project, I certify that:
459469

460470
## Creating a release
461471
Just create a new release on GitHub, and our drone server will build and upload
462-
the compiled binaries for every architecture in a zip file in the release itself.
472+
the compiled binaries for every architecture in a zip file in the release itself.

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)