Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsupported int-format: "enum" #10

Open
smondet opened this issue Nov 24, 2024 · 0 comments
Open

Unsupported int-format: "enum" #10

smondet opened this issue Nov 24, 2024 · 0 comments

Comments

@smondet
Copy link

smondet commented Nov 24, 2024

I have many of those:

"type": {
  "readOnly": true,
  "type": "integer",
  "description": "Output only. The type of the bidding strategy.",
  "format": "enum"
},

Coming from https://github.com/googleapis/googleapis/ protobufs converted to OpenAPI.

(* Generated by jsonschema2atd from openapi.json *)
type json <ocaml module="Yojson.Basic" t="t"> = abstract
type int64 = int <ocaml repr="int64">

jsonschema2atd: internal error, uncaught exception:
                Atdgen_runtime.Oj_run.Error("Line 230:\nUnsupported variant \"enum\"")
@smondet smondet changed the title Unsupported format: "enum" Unsupported int-format: "enum" Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant