forked from go-yaml/yaml
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: simple key handling upto 1024 chars.
Currently, if a key is >128 characters, it is handled as a complex key mapping. This renders some OpenAPI spec paths invalid. Until the same PR go-yaml#1037 is not accepted in the upstream repository, we are adding the changes in this fork and will be using this in deck. Fixes: Kong/go-apiops#198
- Loading branch information
1 parent
f6f7691
commit 46ecb17
Showing
4 changed files
with
61 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
module "gopkg.in/yaml.v3" | ||
module gopkg.in/yaml.v3 | ||
|
||
require ( | ||
"gopkg.in/check.v1" v0.0.0-20161208181325-20d25e280405 | ||
) | ||
go 1.23.0 | ||
|
||
require gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= | ||
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= |