google / gnostic-go-generator

A gnostic plugin that generates Go clients and servers for REST APIs
Apache License 2.0
48 stars 19 forks source link

Error with '@' in field name #8

Open glickbot opened 5 years ago

glickbot commented 5 years ago

The '@' should be escaped in field names example: disco get kgsearch v1 --openapi3 && gnostic openapi3-kgsearch-v1.pb --go-client-out=kgsearch Errors reading openapi3-kgsearch-v1.pb Plugin error: [types.go:7:1: illegal character U+0040 '@' (and 1 more errors)]