From 71d76090bd1fd69d951e38c81a887a7575b9e5e7 Mon Sep 17 00:00:00 2001 From: Egor Rudkov Date: Sun, 8 Sep 2024 17:12:00 +0200 Subject: [PATCH 1/2] Fix usage YAML example schema path in README.md The schema validation URL in the YAML config example leads to the old org name. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 07857cbcb3..f351183e71 100644 --- a/README.md +++ b/README.md @@ -114,7 +114,7 @@ For full details of what is supported, it's worth checking out [the GoDoc for `c We also have [a JSON Schema](configuration-schema.json) that can be used by IDEs/editors with the Language Server Protocol (LSP) to perform intelligent suggestions, i.e.: ```yaml -# yaml-language-server: $schema=https://raw.githubusercontent.com/deepmap/oapi-codegen/HEAD/configuration-schema.json +# yaml-language-server: $schema=https://raw.githubusercontent.com/oapi-codegen/oapi-codegen/main/configuration-schema.json package: api # ... ``` From 8ebca32fdcb9ea8939b5279a2572094594d1ada1 Mon Sep 17 00:00:00 2001 From: Jamie Tanna Date: Sun, 8 Sep 2024 17:35:59 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f351183e71..d4111aaf12 100644 --- a/README.md +++ b/README.md @@ -114,7 +114,7 @@ For full details of what is supported, it's worth checking out [the GoDoc for `c We also have [a JSON Schema](configuration-schema.json) that can be used by IDEs/editors with the Language Server Protocol (LSP) to perform intelligent suggestions, i.e.: ```yaml -# yaml-language-server: $schema=https://raw.githubusercontent.com/oapi-codegen/oapi-codegen/main/configuration-schema.json +# yaml-language-server: $schema=https://raw.githubusercontent.com/oapi-codegen/oapi-codegen/HEAD/configuration-schema.json package: api # ... ```