mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-17 11:53:06 +00:00
fix(ingest/openapi): Fix openapi tests (#11789)
This commit is contained in:
parent
a67981beda
commit
83ec73b7d1
@ -20,7 +20,7 @@
|
|||||||
"com.linkedin.pegasus2avro.common.InstitutionalMemory": {
|
"com.linkedin.pegasus2avro.common.InstitutionalMemory": {
|
||||||
"elements": [
|
"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.",
|
"description": "Link to call for the dataset.",
|
||||||
"createStamp": {
|
"createStamp": {
|
||||||
"time": 1586847600,
|
"time": 1586847600,
|
||||||
@ -71,7 +71,8 @@
|
|||||||
},
|
},
|
||||||
"systemMetadata": {
|
"systemMetadata": {
|
||||||
"lastObserved": 1586847600000,
|
"lastObserved": 1586847600000,
|
||||||
"runId": "openapi-2020_04_14-07_00_00"
|
"runId": "openapi-2020_04_14-07_00_00-m1k7d5",
|
||||||
|
"lastRunId": "no-run-id-provided"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -95,7 +96,7 @@
|
|||||||
"com.linkedin.pegasus2avro.common.InstitutionalMemory": {
|
"com.linkedin.pegasus2avro.common.InstitutionalMemory": {
|
||||||
"elements": [
|
"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.",
|
"description": "Link to call for the dataset.",
|
||||||
"createStamp": {
|
"createStamp": {
|
||||||
"time": 1586847600,
|
"time": 1586847600,
|
||||||
@ -146,7 +147,8 @@
|
|||||||
},
|
},
|
||||||
"systemMetadata": {
|
"systemMetadata": {
|
||||||
"lastObserved": 1586847600000,
|
"lastObserved": 1586847600000,
|
||||||
"runId": "openapi-2020_04_14-07_00_00"
|
"runId": "openapi-2020_04_14-07_00_00-m1k7d5",
|
||||||
|
"lastRunId": "no-run-id-provided"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -161,7 +163,8 @@
|
|||||||
},
|
},
|
||||||
"systemMetadata": {
|
"systemMetadata": {
|
||||||
"lastObserved": 1586847600000,
|
"lastObserved": 1586847600000,
|
||||||
"runId": "openapi-2020_04_14-07_00_00"
|
"runId": "openapi-2020_04_14-07_00_00-m1k7d5",
|
||||||
|
"lastRunId": "no-run-id-provided"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -176,7 +179,8 @@
|
|||||||
},
|
},
|
||||||
"systemMetadata": {
|
"systemMetadata": {
|
||||||
"lastObserved": 1586847600000,
|
"lastObserved": 1586847600000,
|
||||||
"runId": "openapi-2020_04_14-07_00_00"
|
"runId": "openapi-2020_04_14-07_00_00-m1k7d5",
|
||||||
|
"lastRunId": "no-run-id-provided"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@ -2,8 +2,8 @@ source:
|
|||||||
type: openapi
|
type: openapi
|
||||||
config:
|
config:
|
||||||
name: test_openapi
|
name: test_openapi
|
||||||
url: https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/examples/
|
url: https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/tests/
|
||||||
swagger_file: v3.0/api-with-examples.yaml
|
swagger_file: v3.0/pass/api-with-examples.yaml
|
||||||
|
|
||||||
|
|
||||||
sink:
|
sink:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user