storj/private/apigen
Ivan Fraixedes 99c4359062 private/apigen: Avoid clashes of types names
The TypeScript generator create types of anonymous structs. When those
anonymous structs are in endpoints with the same name, but in different
endpoint groups, the generator panic because it create different types
with the same names.

This commit fixes that problem through using the endpoint group prefix
to create the types with different names.

Change-Id: Ibe87532609ce824b80951326f9777ed5b0cc2f7a
2023-10-05 07:30:09 +00:00
..
example private/apigen: Avoid clashes of types names 2023-10-05 07:30:09 +00:00
common_test.go private/apigen: Avoid clashes of types names 2023-10-05 07:30:09 +00:00
common.go private/apigen: Avoid clashes of types names 2023-10-05 07:30:09 +00:00
docgen.go private/apigen: Make API base path configurable 2023-08-28 14:35:01 +00:00
endpoint_test.go private/apigen: Don't allow certain types for Request/Response 2023-10-04 13:46:54 +02:00
endpoint.go private/apigen: Avoid clashes of types names 2023-10-05 07:30:09 +00:00
gogen_test.go private/apigen: Fix code generation for slices & arrays 2023-10-02 17:05:35 +02:00
gogen.go private/apigen: Don't force casing for API group name/prefix 2023-10-05 06:48:50 +00:00
tsgen.go private/apigen: Avoid clashes of types names 2023-10-05 07:30:09 +00:00
tstypes_test.go private/apigen: Fix code generation for slices & arrays 2023-10-02 17:05:35 +02:00
tstypes.go private/apigen: Fix TS generator to apply naming conventions 2023-10-04 13:47:33 +02:00