kommentaar
kommentaar copied to clipboard
Response $ref type != struct
/*
GET /v1/test
tests
Response 200: $ref: bool
*/
throws could not parse response 200 params: GetReference: could not find type "bool" in package ...
then tried:
type TestResponse bool
/*
GET /v1/test
tests
Response 200: $ref: TestResponse
*/
and throws: could not parse response 200 params: GetReference: TestResponse is not a struct or interface but a *ast.Ident