Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Errors with '$' in field name #6

Open
glickbot opened this issue May 30, 2019 · 0 comments
Open

Errors with '$' in field name #6

glickbot opened this issue May 30, 2019 · 0 comments

Comments

@glickbot
Copy link
Contributor

Normal '$ref' fields are handled, but for APIs that define fields that are called '$ref', it tries to use '$ref' as the identifier, which throws an error:

disco get discovery v1 --openapi3 && gnostic openapi3-discovery-v1.pb --go-client-out=discovery
Errors reading openapi3-discovery-v1.pb
Plugin error: [types.go:13:1: illegal character U+0024 '$']

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant