From b694d56ea8b186f2bbfca740fc6a1303ea672f84 Mon Sep 17 00:00:00 2001 From: Aleksandar Stojanov Date: Mon, 25 Dec 2023 18:42:02 +0100 Subject: [PATCH] bump version Signed-off-by: Aleksandar Stojanov --- LICENSE | 2 +- docs/README.md | 2 +- testdata/anchors.schema.json | 4 +--- testdata/anchors.yaml | 2 +- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/LICENSE b/LICENSE index 5e942ec..cb9be93 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2023 Aleksandar Stojanov +Copyright (c) 2023 - 2024 Aleksandar Stojanov Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/docs/README.md b/docs/README.md index fb67a53..777a00e 100644 --- a/docs/README.md +++ b/docs/README.md @@ -70,7 +70,7 @@ replicaCount: # @schema type:[integer, null] } ``` -Another way to use this is to define type when using anchors and pointers in yaml. See discussion [#28](https://github.com/losisin/helm-values-schema-json/issues/28) for more details. +Another way to use this is to define type when using anchors and aliases in yaml. See discussion [#28](https://github.com/losisin/helm-values-schema-json/issues/28) for more details. ```yaml app: &app diff --git a/testdata/anchors.schema.json b/testdata/anchors.schema.json index c78bce8..f5313be 100644 --- a/testdata/anchors.schema.json +++ b/testdata/anchors.schema.json @@ -14,9 +14,7 @@ "type": "array" } }, - "type": [ - "integer" - ] + "type": "object" } }, "type": "object" diff --git a/testdata/anchors.yaml b/testdata/anchors.yaml index 96e918e..f88c39c 100644 --- a/testdata/anchors.yaml +++ b/testdata/anchors.yaml @@ -1,4 +1,4 @@ -app: &app # @schema type:[integer] +app: &app settings: namespace: - *app # @schema type:[string]