Bump NDC Spec version in the json schema (#1261)

### What
The supported NDC Spec was previously bumped to v0.1.6, but the
reference in the JSON Schema was not updated at the same time. This has
been corrected.

V3_GIT_ORIGIN_REV_ID: edbe31eafcd9fb72bdc457f38575d9e42931ecd0
This commit is contained in:
Daniel Chambers 2024-10-23 18:31:54 +11:00 committed by hasura-bot
parent 3186e49826
commit 20b46151e1
3 changed files with 5 additions and 5 deletions

View File

@ -66,7 +66,7 @@ private_intra_doc_links = "allow"
[workspace.dependencies] [workspace.dependencies]
ndc-models = { git = "https://github.com/hasura/ndc-spec.git", rev = "54baf298b5d6a69f12a701e9f0e3ce8f188a194d" } # When you update this tag, also update the schema references in crates/open-dds/src/data_connector.rs ndc-models = { git = "https://github.com/hasura/ndc-spec.git", rev = "54baf298b5d6a69f12a701e9f0e3ce8f188a194d" } # When you update this tag, also update the schema references in crates/open-dds/src/data_connector.rs
ndc-models-v01 = { package = "ndc-models", git = "https://github.com/hasura/ndc-spec.git", tag = "v0.1.6" } ndc-models-v01 = { package = "ndc-models", git = "https://github.com/hasura/ndc-spec.git", tag = "v0.1.6" } # When you update this tag, also update the schema references in crates/open-dds/src/data_connector.rs
anyhow = "1" anyhow = "1"
apollo-parser = "0.7" apollo-parser = "0.7"

View File

@ -5566,10 +5566,10 @@
] ]
}, },
"schema": { "schema": {
"$ref": "https://raw.githubusercontent.com/hasura/ndc-spec/v0.1.4/ndc-models/tests/json_schema/schema_response.jsonschema" "$ref": "https://raw.githubusercontent.com/hasura/ndc-spec/v0.1.6/ndc-models/tests/json_schema/schema_response.jsonschema"
}, },
"capabilities": { "capabilities": {
"$ref": "https://raw.githubusercontent.com/hasura/ndc-spec/v0.1.4/ndc-models/tests/json_schema/capabilities_response.jsonschema" "$ref": "https://raw.githubusercontent.com/hasura/ndc-spec/v0.1.6/ndc-models/tests/json_schema/capabilities_response.jsonschema"
} }
}, },
"additionalProperties": false "additionalProperties": false

View File

@ -79,13 +79,13 @@ impl DataConnectorLink {
fn ndc_capabilities_response_v01_schema_reference( fn ndc_capabilities_response_v01_schema_reference(
_gen: &mut schemars::gen::SchemaGenerator, _gen: &mut schemars::gen::SchemaGenerator,
) -> schemars::schema::Schema { ) -> schemars::schema::Schema {
schemars::schema::Schema::new_ref("https://raw.githubusercontent.com/hasura/ndc-spec/v0.1.4/ndc-models/tests/json_schema/capabilities_response.jsonschema".into()) schemars::schema::Schema::new_ref("https://raw.githubusercontent.com/hasura/ndc-spec/v0.1.6/ndc-models/tests/json_schema/capabilities_response.jsonschema".into())
} }
fn ndc_schema_response_v01_schema_reference( fn ndc_schema_response_v01_schema_reference(
_gen: &mut schemars::gen::SchemaGenerator, _gen: &mut schemars::gen::SchemaGenerator,
) -> schemars::schema::Schema { ) -> schemars::schema::Schema {
schemars::schema::Schema::new_ref("https://raw.githubusercontent.com/hasura/ndc-spec/v0.1.4/ndc-models/tests/json_schema/schema_response.jsonschema".into()) schemars::schema::Schema::new_ref("https://raw.githubusercontent.com/hasura/ndc-spec/v0.1.6/ndc-models/tests/json_schema/schema_response.jsonschema".into())
} }
fn ndc_capabilities_response_v02_schema_reference( fn ndc_capabilities_response_v02_schema_reference(