code: func ToProtoModels(openAPISpec *spec.Swagger) (proto.Models, error) {
  	specBytes, err := json.MarshalIndent(openAPISpec, " ", " ")
  	if err != nil {
  		return nil, err
  	}
  
  	var info yaml.MapSlice
  	err = yaml.Unmarshal(specBytes, &info)
  	if err != nil {
  		return nil, err
  	}
  
  	doc, err := openapi_v2.NewDocument(info, compiler.NewContext("$root", nil))
  	if err != nil {
  		return nil, err
  	}
  
  	models, err := proto.NewOpenAPIData(doc)
  	if err != nil {
  		return nil, err
  	}
  
  	return models, nil
  }
docs: // ToProtoModels builds the proto formatted models from OpenAPI spec