storj/private
Ivan Fraixedes 386a978310 private/apigen: Validate param types
The Go generator only supports certain types as query and path
parameters and it panics on any an unsupported type.

The Document and TypeScript generator don't have any validation for
them. TypeScript generator generates code that compiles, however, it
won't work properly with all the types not supported by the Go
generator.

Because it doesn't make sense that some types may work on the TypeScript
generator, while the Go generator doesn't, doing the validation in the
Param constructor is better because it reports the issue without having
to run the Go generator and it gives a more understanding panic message.

TypeScript generator generates code that works properly with all the
types supported by the Go generator, hence, there isn't any change int
he TypeScript generator in this commit.

Change-Id: I03085283942a98341726a1560f511a46540df9f5
2023-10-10 12:37:20 +00:00
..
api satellite/console: integrate sessions into satellite UI 2022-06-13 08:02:02 +00:00
apigen private/apigen: Validate param types 2023-10-10 12:37:20 +00:00
blockchain private/blockchain: address checksum hex 2022-11-08 18:19:07 +00:00
compensation multinode/console: storage usage and total storage usage 2021-06-10 16:01:41 +00:00
crashreportpb all: fix deprecated ioutil commands 2022-10-11 15:27:29 +00:00
cui all: reformat comments as required by gofmt 1.19 2022-08-10 18:24:55 +00:00
currency private/currency: add strictcsv support to microunit 2020-03-31 14:57:04 -06:00
date Fix monthly earning estimation (#4282) 2021-11-17 18:26:21 -05:00
debugging all: fix dots 2020-07-16 14:58:28 +00:00
kvstore private/kvstore: move storage package 2023-04-06 17:26:29 +03:00
lifecycle satellite: more detailed goroutine labels 2022-05-11 17:50:55 +00:00
migrate go.mod: bump to pgx/v5 2023-06-14 18:32:54 +03:00
multinodeauth {storagenode,multinode/nodes}: use multinodeauth.Secret instead of []byte for APISecret 2022-08-23 11:04:04 +00:00
multinodepb web/multinode: fix wrong free disk space in allocation on dashboard 2023-07-05 11:24:24 +00:00
nodeoperator all: fix error naming 2021-04-29 15:38:21 +03:00
post satellite/email: Add support for unauthenticated, cleartext SMTP connections 2023-10-04 16:55:55 +00:00
prompt private/prompt: remove dependency to go-prompt 2020-02-25 13:09:41 +02:00
revocation private/kvstore: move storage package 2023-04-06 17:26:29 +03:00
server private/server: FreeBSD TCP fastopen support detection 2023-09-18 21:17:42 +00:00
testmonkit all: reformat comments as required by gofmt 1.19 2022-08-10 18:24:55 +00:00
testplanet satellite/overlay: change Reliable and KnownReliable 2023-09-02 23:34:50 +00:00
testredis satellite/accounting/live: replace address parsing with redis util 2023-04-05 13:20:11 +00:00
testrevocation private/kvstore: move storage package 2023-04-06 17:26:29 +03:00
teststorj all: fix dots 2020-07-16 14:58:28 +00:00
testuplink all: fix deprecated ioutil commands 2022-10-11 15:27:29 +00:00
version all: fix deprecated ioutil commands 2022-10-11 15:27:29 +00:00
web satellite/{console,web}: update error handling 2023-07-27 21:01:01 +00:00