storj/private/apigen
Ivan Fraixedes d34c1b6825 private/apigen: Generate docs & typescript for example
Generate the documentation and the typescript code for the example of
that we have to generate an API through the API generator.

The JSON Go struct field tags are needed because the typescript
generator require them, otherwise it panics.

The test had to be adjusted according to match the tags so Go consider
the structs the same type, otherwise, it doesn't compile.

Change-Id: I3e4ebff9174885c50ca2058b86b7ec60e025945c
2023-08-25 12:30:21 +00:00
..
example private/apigen: Generate docs & typescript for example 2023-08-25 12:30:21 +00:00
common.go private/apigen: isolate TypeScript class generation 2023-03-10 21:52:30 +00:00
docgen.go private/apigen: Update generated doc links 2023-08-25 11:51:57 +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: Generate docs & typescript for example 2023-08-25 12:30:21 +00:00
gogen.go private/apigen: Add comment about panics 2023-08-23 18:50:37 +00:00
tsgen.go private/apigen: Add comment about panics 2023-08-23 18:50:37 +00:00
tstypes.go private/apigen: isolate TypeScript class generation 2023-03-10 21:52:30 +00:00