Skip to content

Response $ref type != struct #54

Description

@llonchj
/*
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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions