Ernest Micklei

Results 110 comments of Ernest Micklei

given your example, do you expect it to be this ``` "main.ItemValue.listVal": { "type": "array", "items": { "type": "integer" } } ```

@slow-zhang yes, but it is slow due to other house-painting work :-) In the meantime, I realised the current PR is more of a workaround. Next time I will work...

thank for reporting this issue. We could introduce a new type: ``` type SchemaType string ``` that is check in the Returns to allow a `raw` type value so that:...

you are on the right track, i think. From the top of my head, we could have a check after line 261. ``` if st, ok := e.Model.(SchemaType); ok {...

can you show us the Route definition? does it specify .Writes(Cpuinfo{}) . ? On Wed, Mar 8, 2017 at 4:33 AM, eliqiao wrote: > I have follow codes: > type...

what does /apidocs.json/v1/cpuinfo show ?

SwaggerDoc must be defined on the struct, not the Resource

were you able to fix this? can this be closed?

Thank you for reporting this. I will have a look at the code and your example to see what we can do about it.