d34c1b6825
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 |
||
---|---|---|
.. | ||
example | ||
common.go | ||
docgen.go | ||
endpoint.go | ||
gogen_test.go | ||
gogen.go | ||
tsgen.go | ||
tstypes.go |