storj/private/apigen
Moby von Briesen b4c95a3b28 private/apigen/tsgen: Set query params better
The old way did not properly handle escaping, e.g. if the value of a
query param contained `&` or `=` inside it. By using
url.searchParams.set, we can safely add these types of arguments to the
path.

Change-Id: I62d3883b14f9d5a517e4a3d58f019014b46fd1b4
2023-08-31 20:09:29 -04:00
..
example private/apigen/tsgen: Set query params better 2023-08-31 20:09:29 -04:00
common_test.go private/apigen: Make API base path configurable 2023-08-28 14:35:01 +00:00
common.go private/apigen: Make API base path configurable 2023-08-28 14:35:01 +00:00
docgen.go private/apigen: Make API base path configurable 2023-08-28 14:35:01 +00:00
endpoint.go {private,satellite}: add Typescript generation to REST API generation 2022-08-18 16:37:48 +00:00
gogen_test.go private/apigen/example: make it nicer 2023-08-28 15:13:46 +00:00
gogen.go private/apigen: Make API base path configurable 2023-08-28 14:35:01 +00:00
tsgen.go private/apigen/tsgen: Set query params better 2023-08-31 20:09:29 -04:00
tstypes.go private/apigen: isolate TypeScript class generation 2023-03-10 21:52:30 +00:00