Skip to content

Commit b812e33

Browse files
committed
goa gen github.com/arduino/arduino-create-agent/design
1 parent c5c4b81 commit b812e33

File tree

12 files changed

+41
-210
lines changed

12 files changed

+41
-210
lines changed

gen/http/cli/arduino_create_agent/cli.go

+3-10
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

+18-42
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ paths:
2727
type: array
2828
items:
2929
type: string
30-
example: Repudiandae dignissimos consectetur eos molestiae culpa soluta.
30+
example: Pariatur laudantium inventore qui.
3131
"400":
3232
description: Bad Request response.
3333
schema:
@@ -154,11 +154,6 @@ paths:
154154
description: The version of the tool
155155
required: true
156156
type: string
157-
- name: RemoveRequestBody
158-
in: body
159-
required: true
160-
schema:
161-
$ref: '#/definitions/ToolsRemoveRequestBody'
162157
responses:
163158
"200":
164159
description: OK response.
@@ -194,14 +189,14 @@ definitions:
194189
timeout:
195190
type: boolean
196191
description: Is the error a timeout?
197-
example: false
192+
example: true
198193
description: url invalid (default view)
199194
example:
200195
fault: false
201196
id: 123abc
202197
message: parameter 'p' must be an integer
203198
name: bad_request
204-
temporary: false
199+
temporary: true
205200
timeout: false
206201
required:
207202
- name
@@ -242,7 +237,7 @@ definitions:
242237
fault:
243238
type: boolean
244239
description: Is the error a server-side fault?
245-
example: true
240+
example: false
246241
id:
247242
type: string
248243
description: ID is a unique identifier for this particular occurrence of the problem.
@@ -262,14 +257,14 @@ definitions:
262257
timeout:
263258
type: boolean
264259
description: Is the error a timeout?
265-
example: false
260+
example: true
266261
description: url invalid (default view)
267262
example:
268-
fault: true
263+
fault: false
269264
id: 123abc
270265
message: parameter 'p' must be an integer
271266
name: bad_request
272-
temporary: true
267+
temporary: false
273268
timeout: true
274269
required:
275270
- name
@@ -285,7 +280,7 @@ definitions:
285280
fault:
286281
type: boolean
287282
description: Is the error a server-side fault?
288-
example: false
283+
example: true
289284
id:
290285
type: string
291286
description: ID is a unique identifier for this particular occurrence of the problem.
@@ -301,19 +296,19 @@ definitions:
301296
temporary:
302297
type: boolean
303298
description: Is the error temporary?
304-
example: true
299+
example: false
305300
timeout:
306301
type: boolean
307302
description: Is the error a timeout?
308-
example: true
303+
example: false
309304
description: url invalid (default view)
310305
example:
311-
fault: false
306+
fault: true
312307
id: 123abc
313308
message: parameter 'p' must be an integer
314309
name: bad_request
315310
temporary: true
316-
timeout: false
311+
timeout: true
317312
required:
318313
- name
319314
- id
@@ -375,10 +370,6 @@ definitions:
375370
title: ToolsInstallRequestBody
376371
type: object
377372
properties:
378-
checksum:
379-
type: string
380-
description: "A checksum of the archive. Mandatory when url is present. \n\tThis ensures that the package is downloaded correcly."
381-
example: Totam cum inventore exercitationem in.
382373
name:
383374
type: string
384375
description: The name of the tool
@@ -387,19 +378,13 @@ definitions:
387378
type: string
388379
description: The packager of the tool
389380
example: arduino
390-
url:
391-
type: string
392-
description: "The url where the package can be found. Optional. \n\tIf present checksum must also be present."
393-
example: Totam vero ipsum corporis nihil voluptatem id.
394381
version:
395382
type: string
396383
description: The version of the tool
397384
example: 6.3.0-arduino9
398385
example:
399-
checksum: Modi dolorem reprehenderit perspiciatis illo aspernatur.
400386
name: avrdude
401387
packager: arduino
402-
url: Officia optio inventore atque in voluptatibus qui.
403388
version: 6.3.0-arduino9
404389
required:
405390
- name
@@ -418,21 +403,6 @@ definitions:
418403
status: ok
419404
required:
420405
- status
421-
ToolsRemoveRequestBody:
422-
title: ToolsRemoveRequestBody
423-
type: object
424-
properties:
425-
checksum:
426-
type: string
427-
description: "A checksum of the archive. Mandatory when url is present. \n\tThis ensures that the package is downloaded correcly."
428-
example: Et qui id et cumque illo.
429-
url:
430-
type: string
431-
description: "The url where the package can be found. Optional. \n\tIf present checksum must also be present."
432-
example: Officia maiores reiciendis est nemo.
433-
example:
434-
checksum: Corporis eum et numquam sapiente.
435-
url: Est voluptatem eos reprehenderit quo sint quod.
436406
ToolsRemoveResponseBody:
437407
title: 'Mediatype identifier: application/vnd.arduino.operation; view=default'
438408
type: object
@@ -459,3 +429,9 @@ definitions:
459429
- name: avrdude
460430
packager: arduino
461431
version: 6.3.0-arduino9
432+
- name: avrdude
433+
packager: arduino
434+
version: 6.3.0-arduino9
435+
- name: avrdude
436+
packager: arduino
437+
version: 6.3.0-arduino9

gen/http/openapi3.json

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

gen/http/openapi3.yaml

+12-47
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,17 @@ paths:
2222
type: array
2323
items:
2424
type: string
25-
example: Eveniet iure nihil optio qui.
25+
example: Rerum et soluta laudantium.
2626
example:
27-
- Et perferendis eveniet voluptas.
28-
- Ut aut illum eaque dolor magni.
29-
- Amet illo veritatis laudantium optio.
27+
- Et deserunt.
28+
- Impedit iusto libero explicabo.
29+
- Dolor adipisci nulla.
30+
- Quam voluptas voluptates expedita rem ipsum.
3031
example:
31-
- Illo enim vero qui rerum ut inventore.
32-
- Dolorem nihil autem minima alias.
32+
- Dignissimos consectetur eos molestiae culpa soluta deserunt.
33+
- Nobis sint dolorem unde.
34+
- Quia doloremque.
35+
- Atque iusto tempore sit quod dolor repellat.
3336
"400":
3437
description: 'invalid_url: url invalid'
3538
content:
@@ -152,10 +155,8 @@ paths:
152155
schema:
153156
$ref: '#/components/schemas/InstallRequestBody'
154157
example:
155-
checksum: Beatae dolor adipisci nulla et quam voluptas.
156158
name: avrdude
157159
packager: arduino
158-
url: Deserunt voluptatem impedit iusto libero.
159160
version: 6.3.0-arduino9
160161
responses:
161162
"200":
@@ -200,15 +201,6 @@ paths:
200201
description: The version of the tool
201202
example: 6.3.0-arduino9
202203
example: 6.3.0-arduino9
203-
requestBody:
204-
required: true
205-
content:
206-
application/json:
207-
schema:
208-
$ref: '#/components/schemas/RemoveRequestBody'
209-
example:
210-
checksum: Ipsa minima quia.
211-
url: Expedita rem ipsum quasi harum nostrum.
212204
responses:
213205
"200":
214206
description: OK response.
@@ -277,7 +269,7 @@ components:
277269
temporary:
278270
type: boolean
279271
description: Is the error temporary?
280-
example: false
272+
example: true
281273
timeout:
282274
type: boolean
283275
description: Is the error a timeout?
@@ -288,8 +280,8 @@ components:
288280
id: 123abc
289281
message: parameter 'p' must be an integer
290282
name: bad_request
291-
temporary: false
292-
timeout: true
283+
temporary: true
284+
timeout: false
293285
required:
294286
- name
295287
- id
@@ -300,10 +292,6 @@ components:
300292
InstallRequestBody:
301293
type: object
302294
properties:
303-
checksum:
304-
type: string
305-
description: "A checksum of the archive. Mandatory when url is present. \n\tThis ensures that the package is downloaded correcly."
306-
example: Sint odio sed consequatur numquam.
307295
name:
308296
type: string
309297
description: The name of the tool
@@ -312,19 +300,13 @@ components:
312300
type: string
313301
description: The packager of the tool
314302
example: arduino
315-
url:
316-
type: string
317-
description: "The url where the package can be found. Optional. \n\tIf present checksum must also be present."
318-
example: Et quo doloremque sapiente atque.
319303
version:
320304
type: string
321305
description: The version of the tool
322306
example: 6.3.0-arduino9
323307
example:
324-
checksum: Mollitia commodi sunt.
325308
name: avrdude
326309
packager: arduino
327-
url: Quae reprehenderit provident provident debitis illo.
328310
version: 6.3.0-arduino9
329311
required:
330312
- name
@@ -341,20 +323,6 @@ components:
341323
status: ok
342324
required:
343325
- status
344-
RemoveRequestBody:
345-
type: object
346-
properties:
347-
checksum:
348-
type: string
349-
description: "A checksum of the archive. Mandatory when url is present. \n\tThis ensures that the package is downloaded correcly."
350-
example: Ea culpa.
351-
url:
352-
type: string
353-
description: "The url where the package can be found. Optional. \n\tIf present checksum must also be present."
354-
example: Odit officiis illo qui quia provident illo.
355-
example:
356-
checksum: Rerum eum esse corporis ex.
357-
url: Molestiae dolor quaerat enim.
358326
ToolCollection:
359327
type: array
360328
items:
@@ -369,9 +337,6 @@ components:
369337
- name: avrdude
370338
packager: arduino
371339
version: 6.3.0-arduino9
372-
- name: avrdude
373-
packager: arduino
374-
version: 6.3.0-arduino9
375340
tags:
376341
- name: indexes
377342
description: The indexes service manages the package_index files

gen/http/tools/client/cli.go

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

0 commit comments

Comments
 (0)