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

Errors with '$' in field name #6

Description

@glickbot

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 '$']

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions