Skip to content

Commit

Permalink
fix(ingest/openapi): Fix openapi tests (datahub-project#11789)
Browse files Browse the repository at this point in the history
  • Loading branch information
treff7es authored Nov 5, 2024
1 parent a67981b commit 83ec73b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"com.linkedin.pegasus2avro.common.InstitutionalMemory": {
"elements": [
{
"url": "https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/examples/",
"url": "https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/tests/",
"description": "Link to call for the dataset.",
"createStamp": {
"time": 1586847600,
Expand Down Expand Up @@ -71,7 +71,8 @@
},
"systemMetadata": {
"lastObserved": 1586847600000,
"runId": "openapi-2020_04_14-07_00_00"
"runId": "openapi-2020_04_14-07_00_00-m1k7d5",
"lastRunId": "no-run-id-provided"
}
},
{
Expand All @@ -95,7 +96,7 @@
"com.linkedin.pegasus2avro.common.InstitutionalMemory": {
"elements": [
{
"url": "https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/examples/v2",
"url": "https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/tests/v2",
"description": "Link to call for the dataset.",
"createStamp": {
"time": 1586847600,
Expand Down Expand Up @@ -146,7 +147,8 @@
},
"systemMetadata": {
"lastObserved": 1586847600000,
"runId": "openapi-2020_04_14-07_00_00"
"runId": "openapi-2020_04_14-07_00_00-m1k7d5",
"lastRunId": "no-run-id-provided"
}
},
{
Expand All @@ -161,7 +163,8 @@
},
"systemMetadata": {
"lastObserved": 1586847600000,
"runId": "openapi-2020_04_14-07_00_00"
"runId": "openapi-2020_04_14-07_00_00-m1k7d5",
"lastRunId": "no-run-id-provided"
}
},
{
Expand All @@ -176,7 +179,8 @@
},
"systemMetadata": {
"lastObserved": 1586847600000,
"runId": "openapi-2020_04_14-07_00_00"
"runId": "openapi-2020_04_14-07_00_00-m1k7d5",
"lastRunId": "no-run-id-provided"
}
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ source:
type: openapi
config:
name: test_openapi
url: https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/examples/
swagger_file: v3.0/api-with-examples.yaml
url: https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/tests/
swagger_file: v3.0/pass/api-with-examples.yaml


sink:
Expand Down

0 comments on commit 83ec73b

Please sign in to comment.