storj/private/apigen
Ivan Fraixedes 00484429d6
private/apigen: Generate valid TypeScript code with anonymous types
The API generator didn't generate valid TypeScript code when using
Go anonymous types.

This commit fixes that issue creating names for anonymous types.

Change-Id: Ice0748d8650686e3d3979523b8f218dc20eade5a
2023-09-26 14:04:33 +02:00
..
example private/apigen: Generate valid TypeScript code with anonymous types 2023-09-26 14:04:33 +02:00
common_test.go private/apigen: Make API base path configurable 2023-08-28 14:35:01 +00:00
common.go private/apigen: Generate valid TypeScript code with anonymous types 2023-09-26 14:04:33 +02:00
docgen.go private/apigen: Make API base path configurable 2023-08-28 14:35:01 +00:00
endpoint.go private/apigen: Generate valid TypeScript code with anonymous types 2023-09-26 14:04:33 +02:00
gogen_test.go private/apigen/example: make it nicer 2023-08-28 15:13:46 +00:00
gogen.go private/apigen: Add validations to improve usage 2023-09-26 14:04:33 +02:00
tsgen.go private/apigen: Generate valid TypeScript code with anonymous types 2023-09-26 14:04:33 +02:00
tstypes_test.go private/apigen: Generate valid TypeScript code with anonymous types 2023-09-26 14:04:33 +02:00
tstypes.go private/apigen: Generate valid TypeScript code with anonymous types 2023-09-26 14:04:33 +02:00