Skip to content

Commit 8f30419

Browse files
authored
Merge pull request #353 from arduino/fix-firefox-blocked-put
Fix firefox blocked put
2 parents 854317a + acca9aa commit 8f30419

File tree

9 files changed

+60
-13
lines changed

9 files changed

+60
-13
lines changed

README.md

+11-1
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

+1-1
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

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/http/openapi.json

+1-1
Large diffs are not rendered by default.

gen/http/openapi.yaml

+1-1
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

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/http/tools/server/server.go

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/indexes/views/view.go

+10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/tools/views/view.go

+27
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)