-
-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Labels
Description
I've been trying to generate an OpenAPI client using openapi-generator
located at: https://openapi-generator.tech.
First tried:
openapi-generator generate -g rust \
-i https://github.com/accordproject/apap/blob/main/openapi.json \
-o accord-rust
However, got errors indicating that the generator was expecting a YAML file.
Therefore, generated YAML file (see attached) by using converter at: https://www.json2yaml.com.
YAML file:
openapi-accord.yaml
Tried this command:
openapi-generator generate -g rust \
-i ./openapi-accord.yaml \
-o accord-rust
and got below errors.
Tried a few different generators (e.g. typescript-node) just in case it was something to do with the rust
generator but same errors occurred.