influxdata / openapi

An OpenAPI specification for influx (cloud/oss) apis.
MIT License
17 stars 10 forks source link

fix(invocable-scripts): `type` is not allowed in example object #467

Closed bednar closed 2 years ago

bednar commented 2 years ago

The openapi specification doesn't specify the type in the Example object:

image

https://swagger.io/specification/#example-object

This breaks our generator to build the influxdb-client-java, influxdb-client-python, influxdb-client-csharp...

image

https://app.circleci.com/pipelines/github/bonitoo-io/influxdb-clients-apigen/665/workflows/c4342df9-0b86-4d43-9205-05c7f43b06b5

Caused by https://github.com/influxdata/openapi/pull/451

bednar commented 2 years ago

Hi @jstirnaman, @sunbryely-influxdata,

can you take a look to this PR?

Regards

bednar commented 2 years ago

Hi @glinton,

can you take a look to this PR?

Regards

bednar commented 2 years ago

@sunbryely-influxdata, @glinton can your merge this PR into master branch? I don't have a permission...