marquez
marquez copied to clipboard
openapi.yaml Spec Positional Parameters
Hi.
I'm trying to use oapi-codegen to generate a Go client library for Marquez 0.40.0
. When I run oapi-codegen -generate client -package client api/spec.yaml > client.go
, I get this error:
error generating code: error creating operation definitions: path '/namespaces/{namespace}/datasets' has 1 positional parameters, but spec has 2 declared
Looking into the spec file, the error appears valid, as there is one parameter in the path with braces and two in the array below. Am I missing something here?
https://github.com/MarquezProject/marquez/blame/0.40.0/spec/openapi.yml#L254C1-L257C1
Thanks
Thanks for opening your first issue in the Marquez project! Please be sure to follow the issue template!
I imported this URL into the swagger editor and got linting errors:
https://raw.githubusercontent.com/MarquezProject/marquez/0.40.0/spec/openapi.yml
Is this expected?