Skip to content

arazzo generate fails on OpenAPI 3.2 spec #3

Description

@erwinkramer

Description

Not sure if it's about OpenAPI 3.2 but the generate command fails on the following spec: https://github.com/erwinkramer/bank-api/blob/main/Specs.Generated/openapi_v1_spec.json

With error:

parsing OpenAPI spec: components.schemas: invalid type: sequence, expected a string at line 634 column 16

Command

arazzo generate --spec ./Specs.Generated/openapi_v1_spec.json

Subsequently,

arazzo run ./Specs.Generated/workflows_v1_arazzo.yaml getAndUpdateBank also fails, I assume because of the same issue:

step getAllBanks: operationId "GetAllBanks" not found in loaded OpenAPI specs

If you think that's another separate problem, I'll post a new issue.

Output

Minimal Arazzo spec

Environment

error: unexpected argument '--version' found

(arazzo --version doesn't seem to work, but is requested in the bug report template. )

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions