alexjomin / openapi-parser

Simple and still naive openapi documentation generator from comments of your Go code.
18 stars 8 forks source link

feat: implements parsing for array of arrays #27

Closed Sadzeih closed 4 years ago

Sadzeih commented 4 years ago

This PR implements parsing for arrays of arrays e.g. [][]float64 or [][][]string

For this I changed the schema.Items type from map[string]string to map[string]interface{}.

This allows us to pass the items of the child array to the items of the parent array.

denouche commented 4 years ago

:+1: