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

Failed to validate the Smithy model. #244

Open
divinerapier opened this issue May 9, 2024 · 0 comments
Open

Failed to validate the Smithy model. #244

divinerapier opened this issue May 9, 2024 · 0 comments

Comments

@divinerapier
Copy link

Hi, I made a mistake when I was dealing with airflow.

$ smithytranslate openapi-to-smithy -i ./airflow.v1.yaml --json-output ./smithy/
Failed to validate the Smithy model:
[ERROR] airflow.v1#UpdateDagRunStateInput$body: Members cannot target operation shapes, but found (operation: `airflow.v1#UpdateDagRunState`) | Target N/A:0:0
[ERROR] airflow.v1#DAG$schedule_interval: member shape targets an unresolved shape `airflow.v1#ScheduleInterval` | Target.UnresolvedShape N/A:0:0
[ERROR] airflow.v1#SetTaskInstanceNoteInput$body: Members cannot target operation shapes, but found (operation: `airflow.v1#SetTaskInstanceNote`) | Target N/A:0:0
[ERROR] airflow.v1#ClearDagRunInput$body: Members cannot target operation shapes, but found (operation: `airflow.v1#ClearDagRun`) | Target N/A:0:0
[ERROR] airflow.v1#DAGMixin$schedule_interval: member shape targets an unresolved shape `airflow.v1#ScheduleInterval` | Target.UnresolvedShape N/A:0:0
[ERROR] airflow.v1#SetMappedTaskInstanceNoteInput$body: Members cannot target operation shapes, but found (operation: `airflow.v1#SetTaskInstanceNote`) | Target N/A:0:0
[ERROR] airflow.v1#CreateDatasetEventInput$body: Members cannot target operation shapes, but found (operation: `airflow.v1#CreateDatasetEvent`) | Target N/A:0:0
[ERROR] airflow.v1#DAGDetail$schedule_interval: member shape targets an unresolved shape `airflow.v1#ScheduleInterval` | Target.UnresolvedShape N/A:0:0
[ERROR] airflow.v1#SetDagRunNoteInput$body: Members cannot target operation shapes, but found (operation: `airflow.v1#SetDagRunNote`) | Target N/A:0:0
anyOf is not allowed
anyOf is not allowed
OpenIdConnect is not a supported security scheme.
Some(negotiate) is not a supported format of the http security scheme.
Writing airflow/smithy/result.json
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