//+build go1.12 package genopenapi import "strings" func fieldName(k string) string { return strings.ReplaceAll(strings.Title(k), "-", "_") }