Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fork github.com/go-openapi/{spec,validate,errors,strfmt} #211

Merged
merged 664 commits into from
Nov 5, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
664 commits
Select commit Hold shift + click to select a range
48c2a71
Merge pull request #33 from morlay/master
casualjim Sep 28, 2017
00fbf1c
ref resolution
keramix Oct 16, 2017
78d12de
remove debug artifact
keramix Oct 16, 2017
4762da7
added tests
keramix Oct 16, 2017
d9e0070
fix basePath and add some logging
keramix Oct 17, 2017
778dc9b
solve recursive issue
keramix Oct 17, 2017
84b5bee
Merge pull request #35 from kreamyx/ref-resolution
casualjim Oct 19, 2017
e291569
Fix panic when json.Number value is in a string field
Oct 20, 2017
4566af4
Add the test case causing the (fixed) panic
Oct 20, 2017
e8b25c4
check that any object with items key should have a type array
keramix Oct 19, 2017
b6cfc35
added tests
keramix Oct 19, 2017
e9896c1
added a check that type array must have items
keramix Nov 3, 2017
eef1d9a
Add Example field to SimpleSchema
ethantkoenig Nov 5, 2017
a4fa957
Merge pull request #37 from ethantkoenig/example
casualjim Nov 5, 2017
32c2d07
Fix panic for nil schema
nikhita Nov 5, 2017
a762d5d
more validations when type does not even exist
keramix Nov 7, 2017
bed0b99
allow a property name to be items
keramix Nov 9, 2017
9ca207c
remove debug artefact
keramix Nov 9, 2017
a52193a
allow a property name to be properties
keramix Nov 9, 2017
d509235
Recognize path parameters in path segment fragments #39
elakito Nov 10, 2017
58f1853
Don't drop empty arrays of operations security definitions
databus23 Nov 27, 2017
bfb48d3
Merge pull request #39 from databus23/patch-1
casualjim Nov 27, 2017
967b480
Avoid null value when serializing operations
databus23 Nov 29, 2017
5a4a1e9
Merge pull request #40 from databus23/regression-issue-39
casualjim Nov 29, 2017
65a3c60
reference resolution (#38)
keramix Dec 4, 2017
4a3d261
optimization of ResolveRef during code generation (#41)
keramix Dec 5, 2017
0173894
fixing paths for windows (#42)
keramix Dec 6, 2017
ae13823
Consistently check if RelativeBase is empty
hypnoglow Dec 18, 2017
aa90e7c
Merge pull request #44 from hypnoglow/43-relative-base-checks
casualjim Dec 18, 2017
6ef9882
Fix expandSchema when basePath is empty
hypnoglow Dec 18, 2017
06b88aa
Merge pull request #46 from hypnoglow/45-fix-expand-schema-with-empty…
casualjim Dec 19, 2017
803abef
Delete temporary files before program termination
sebastien-rosset Dec 19, 2017
0d19bc5
Merge pull request #48 from CiscoM31/master
casualjim Dec 19, 2017
e41dd92
Revert "47-Delete temporary files before program termination"
casualjim Dec 19, 2017
5fb63ac
Merge pull request #49 from go-openapi/revert-48-master
casualjim Dec 19, 2017
7857ce9
clean up temp files
keramix Dec 19, 2017
84511ac
fix validate test to reconcile recursive refs with temp files
keramix Dec 19, 2017
fa03337
Merge pull request #50 from kreamyx/clean-up
casualjim Dec 19, 2017
32db5cd
update json schema fixtures
casualjim Dec 19, 2017
a764d2e
The dashes in UUIDs are optional.
gregmarr Dec 19, 2017
245bafe
Fixed isDate validation; added unittests
krnkl Dec 22, 2017
4dd3d30
Merge pull request #19 from krnkl/18-date-validation
casualjim Dec 22, 2017
0e805b1
44 FIX - Improve spec validation messages (#42)
fredbi Dec 22, 2017
7bcb96a
fix #10 - add error factor must be positive (#11)
fredbi Dec 26, 2017
fa47bbf
Validate examples. Refactoring of validate pkg. (#60)
fredbi Jan 10, 2018
c7d02fc
Complete godoc-ed catalog of validation messages
fredbi Jan 10, 2018
9b59475
Merge pull request #62 from fredbi/53-enhance-message-catalog
casualjim Jan 11, 2018
6bff943
- Don't write root schema to disk.
pytlesk4 Jan 30, 2018
35e5534
- fix TestSchemaValidator_Panic
pytlesk4 Jan 30, 2018
8ed76de
Merge pull request #54 from stoplightio/fix-expand-schema
casualjim Jan 30, 2018
9999dd7
Merge pull request #64 from stoplightio/master
casualjim Jan 31, 2018
2f38c53
Non-validating examples raise warnings, not errors
fredbi Jan 31, 2018
18002ed
relative base can be a http url
pytlesk4 Jan 31, 2018
9129a28
Added default validation for headers
fredbi Jan 31, 2018
cccc148
- use strings.HasPrefix instead of strings.Contains to detect a url
pytlesk4 Jan 31, 2018
f3499b5
Merge pull request #55 from stoplightio/httpRelativeBase
casualjim Jan 31, 2018
4f91803
Doc work: README, godoc and linting
fredbi Feb 2, 2018
2a09d72
- [x] Fixed panic case whenever a $ref is declared as sibling of resp…
fredbi Feb 2, 2018
2a209b0
Merge pull request #21 from fredbi/doc-update
casualjim Feb 2, 2018
7f951f2
Extended unit tests coverage on date, datetime and duration
fredbi Feb 4, 2018
4d761f0
Fix issue#73: panic on unresolved in response definition
fredbi Feb 4, 2018
6d1a47f
Merge pull request #24 from fredbi/strfmt-extends-ut-dates-and-times
casualjim Feb 5, 2018
c4e71bf
added exported versions of the expandResponse and the expandParameter…
keramix Feb 7, 2018
81ece4e
Merge pull request #57 from kreamyx/expansion-export
casualjim Feb 7, 2018
ce2166c
normalize cache key for root in ExpandSchema
koron Feb 9, 2018
e5cac01
Merge pull request #58 from koron/normalize-drive-letter-windows
casualjim Feb 9, 2018
d5d4826
Fixes #75
fredbi Feb 8, 2018
19a5938
Better test coverage
fredbi Feb 8, 2018
41de52f
- fix expand response, path items, and parameters
pytlesk4 Feb 12, 2018
a7c6967
Merge pull request #59 from stoplightio/fix-response-exansion
casualjim Feb 12, 2018
7ede853
- handle circular references for path items, responses and parameters
pytlesk4 Feb 13, 2018
b7cbfa8
- if ref is equal to the current ref for a response, parameter or pat…
pytlesk4 Feb 13, 2018
7a3d901
Merge pull request #60 from go-openapi/all-circular-refs
casualjim Feb 13, 2018
1ff04bd
- run long running tests in parallel
pytlesk4 Feb 13, 2018
1de3e05
improve performance of schema deserialize
mikedanese Feb 13, 2018
1846887
Fix hang on recursive schemas when checking example of default values.
fredbi Feb 22, 2018
180bba5
Added fixtures for non-regression
fredbi Feb 22, 2018
fe19c0b
absPath() windows fix
mtfelian Mar 2, 2018
8f284a2
more accurate, with normalizeAbsPath()
mtfelian Mar 2, 2018
410b67e
normalizePaths() and tests issues fix for Windows
mtfelian Mar 2, 2018
d8000b5
fix case no url fragment
mtfelian Mar 2, 2018
d62f4e6
Fix str->bson function usages
tylerb Mar 15, 2018
6ba3155
Merge pull request #25 from outdoorsy/master
casualjim Mar 18, 2018
e62278c
defaulting: add simpler unit test for debugging
sttts Mar 19, 2018
c7c5d5c
defaulting: add benchmark
sttts Mar 19, 2018
b1a574a
- fixes #65
pytlesk4 Mar 22, 2018
66589c1
- remove dead code
pytlesk4 Mar 22, 2018
a309226
Merge pull request #70 from go-openapi/transitive-refs
casualjim Mar 23, 2018
f7d3cf6
- only change the resolver for transitive refs if the ref isn't local
pytlesk4 Mar 26, 2018
9acd888
Merge pull request #71 from go-openapi/transitiveResolverLocalRefCheck
casualjim Mar 26, 2018
6e21b58
Handle null uuids when deserializing
Apr 4, 2018
257eae8
Merge pull request #27 from fieryorc/pr/26-uuid-null
casualjim Apr 4, 2018
18bafbc
- fix spelling
pytlesk4 Apr 6, 2018
370d9e0
Merge pull request #72 from go-openapi/fixSpelling
casualjim Apr 6, 2018
67468bf
Handle null dates when deserializing
Apr 7, 2018
4818084
Merge pull request #28 from fieryorc/cr/26-fix_null_date
casualjim Apr 7, 2018
94e900b
defaulting: implement orthogonally to validation
sttts Apr 13, 2018
deac891
Add pruning post-validate algorithm
sttts Apr 13, 2018
563c6e5
optimize: reduce quantor allocations
sttts Mar 19, 2018
a6c59cf
Merge pull request #81 from sttts/sttts-orthogonal-defaulting
casualjim Apr 13, 2018
68d51af
update jsonschema draft4
casualjim Apr 15, 2018
bcff419
adds test for security requirement parsing
casualjim Apr 15, 2018
ed99db2
Add runtime integration test
sttts Apr 16, 2018
17d85e3
Allow typed slices via reflection
sttts Apr 16, 2018
1788db6
Clarify post-algorithm inputs
sttts Apr 16, 2018
659e09d
Merge pull request #86 from sttts/sttts-reflect-slices
casualjim Apr 16, 2018
64288d1
Fix regexp cache race issue
Apr 22, 2018
f8f9c59
Merge pull request #88 from victorxw/87-fix-regexp-cache-race
fredbi Apr 22, 2018
5a75475
Fix debug logger side effects
fredbi May 2, 2018
e943f4b
Merge pull request #90 from fredbi/fix-debug-logger
casualjim May 2, 2018
c803615
Stop defaults overriding existing values
sttts May 2, 2018
9286f6d
Merge pull request #91 from sttts/sttts-fix-defaulter-plus-test
casualjim May 2, 2018
41e8bbe
- linting
fredbi May 15, 2018
b2b2bef
Merge pull request #12 from fredbi/lint-and-test
casualjim May 15, 2018
a866211
upgrade CI with go 1.8 and 1.9
fredbi Mar 2, 2018
8da38e2
Avoid lock when regexp's cache is hot.
jerome-laforge Jun 9, 2018
9ce4aba
Merge pull request #94 from jerome-laforge/master
casualjim Jun 9, 2018
f6c557a
Remove unnecessary code duplication
jerome-laforge Jun 10, 2018
2be454c
Merge branch 'master' into master
jerome-laforge Jun 10, 2018
d543b1a
Remove unnecessary code duplication
jerome-laforge Jun 10, 2018
b0a3ed6
Merge pull request #95 from jerome-laforge/master
casualjim Jun 11, 2018
58e1f50
* Some linting
fredbi Jul 2, 2018
93213da
Linting
fredbi May 16, 2018
6410a8a
Linting
fredbi Jul 2, 2018
49a17f2
Merge pull request #73 from fredbi/fix-linting
casualjim Jul 3, 2018
1d51702
Merge branch 'master' into travis-update-go-8-9
casualjim Jul 3, 2018
16284f9
Merge pull request #68 from fredbi/travis-update-go-8-9
casualjim Jul 3, 2018
913ee05
Merge pull request #29 from fredbi/fix-linting
casualjim Jul 3, 2018
9a6e517
Merge pull request #96 from fredbi/fix-linting
casualjim Jul 3, 2018
f9ebe9c
Relocate relative $ref in response and param schema
fredbi Jul 6, 2018
af4c70f
Hang when expanding circular $ref
fredbi Jul 7, 2018
8b2cc60
Merge pull request #78 from fredbi/fix-remote-skip-schemas
casualjim Jul 8, 2018
b79fccf
Hang when expanding circular $ref
fredbi Jul 7, 2018
ac0b6b8
Revert "Hang when expanding circular $ref"
casualjim Jul 8, 2018
035942d
- change basepath when encountering a transitive ref
pytlesk4 Jul 9, 2018
6e1e397
Merge branches 'fix-circular' and 'master' of https://github.com/go-o…
fredbi Jul 9, 2018
70ef9ff
* Fixed transitiveResolver (change root)
fredbi Jul 9, 2018
e2e66a1
* Circular ref, cont'd: absolutized initial root path passed with opt…
fredbi Jul 9, 2018
08971c5
Added fixture for #69
fredbi Jul 9, 2018
64080af
Fix unit test no specifying correct path
fredbi Jul 9, 2018
90cb622
Merge pull request #81 from go-openapi/fix-circular
fredbi Jul 9, 2018
2d9ee49
- handle transitive refs for responses/parameters
pytlesk4 Jul 10, 2018
bce47c9
Merge pull request #82 from go-openapi/circularRespParamsFix
pytlesk4 Jul 10, 2018
837d3d5
* Added option to expand circular $ref with absolute path
fredbi Jul 26, 2018
384415f
Merge pull request #83 from fredbi/fix-circular-absolute
casualjim Aug 1, 2018
109e4ba
Fixes with remote and cyclical $ref
fredbi Jul 26, 2018
4f81262
Merge pull request #98 from fredbi/expand-with-base
casualjim Aug 3, 2018
72cdde7
Fixed undue warnings w/race in unit test
fredbi Aug 9, 2018
7c19119
Merge pull request #100 from fredbi/fix-unit-test
casualjim Aug 9, 2018
eed2e94
update travis yml
casualjim Aug 11, 2018
ffd6e7d
use go 1.11 in travis
Aug 25, 2018
f1468ac
use go 1.11 in travis
casualjim Aug 25, 2018
6292e8b
use go 1.11 in travis
Aug 25, 2018
e0648ff
use go 1.11 in travis
Aug 25, 2018
214ef8a
Default error code can be changed externally
maxatome Aug 27, 2018
87bb653
Merge pull request #15 from maxatome/defaultHTTPCode
casualjim Aug 27, 2018
41df026
Completed test for ServeError with nil Error, as discussed in #13
fredbi Sep 3, 2018
04228a9
#30 github.com/go-mgo/mgo is no longer maintained
jerome-laforge Sep 10, 2018
7761141
Merge pull request #31 from jerome-laforge/master
casualjim Sep 10, 2018
1801eed
Merge pull request #16 from fredbi/serve-nil-error
casualjim Sep 26, 2018
d9664f9
add go.mod and go.sum
casualjim Oct 7, 2018
35fe473
add go.mod and go.sum
casualjim Oct 7, 2018
5bae59e
add go.mod and go.sum
casualjim Oct 7, 2018
d2eab7d
add go.mod and go.sum
casualjim Oct 7, 2018
5e0adf9
use an RFC 5322 address parser for email addresses
casualjim Oct 12, 2018
44323b0
adds a test with some unusual email addresses
casualjim Oct 12, 2018
4571a0b
ensure the address is not just a name
casualjim Oct 12, 2018
d2c6911
adds finns failing address
casualjim Oct 12, 2018
edab999
Merge pull request #33 from go-openapi/fix-goswagger-1519
casualjim Oct 21, 2018
53354ba
Linting
fredbi Oct 16, 2018
81f5045
Merge pull request #35 from fredbi/golangci-lint
casualjim Oct 27, 2018
6232591
Fixes #36 Hostname matching doesn't conform to modern hostname patterns
jlambatl Oct 30, 2018
b7bbaf9
Merge pull request #37 from jimmystewpot/36-fix_hostname_regex
casualjim Oct 30, 2018
57feacd
add unicode (emoji) and puny code domain support to hostname validation
jlambatl Nov 23, 2018
292dbf3
fix regex to allow non-ascii and long tlds
jlambatl Nov 26, 2018
1683a72
tidy up readability of tests
jlambatl Nov 26, 2018
92d4b1f
add unicode (emoji) and puny code domain support to hostname validation
jlambatl Nov 23, 2018
6f9e6a3
rebase from master
jlambatl Nov 26, 2018
8fde95a
tidy up readability of tests
jlambatl Nov 26, 2018
88430b3
fix up rebase merge conflict
jlambatl Nov 26, 2018
b52d81c
Merge branch 'extend_hostname_validation' of https://github.com/jimmy…
jlambatl Nov 26, 2018
e471370
Merge pull request #40 from jimmystewpot/extend_hostname_validation
casualjim Nov 27, 2018
c166dd3
Fix regression on unmarshalling Ref types by using gob encode/decode
fredbi Nov 27, 2018
c3754ea
Merge pull request #87 from fredbi/fix-1846
casualjim Nov 28, 2018
4967c03
Fix gob encoding on operations
fredbi Dec 1, 2018
5b6cdde
Merge pull request #88 from fredbi/fix-1824
casualjim Dec 1, 2018
cfd46eb
Reduce debt
fredbi Jul 8, 2018
22e9aff
* Updated to new lint rules (globals and inits)
fredbi Nov 17, 2018
9453b11
More unit testing
fredbi Dec 24, 2018
1a393c9
Fix hostname validation regexp
fredbi Dec 28, 2018
870f786
Merge pull request #43 from fredbi/fix-42
casualjim Dec 28, 2018
13e5106
Add DeepCopy and DeepCopyInto methods to all types
vadorovsky Jan 16, 2019
dd2bd34
Merge pull request #44 from mrostecki/deepcopy
casualjim Jan 16, 2019
2ce5189
Fix typos in comments to DeepCopyInto methods
vadorovsky Jan 17, 2019
bc2668d
Merge pull request #45 from mrostecki/fix-deepcopy-comments
gregmarr Jan 17, 2019
53d7765
Merge pull request #85 from fredbi/lint-and-refact
casualjim Jan 24, 2019
28d9b38
empty datetime shouldn't be converted to epoch time and it shouldn't …
Feb 11, 2019
bb51295
Merge pull request #47 from mjvm/fix/empty-datetime-shouldbe-invalid
casualjim Feb 11, 2019
2dbb59a
Feature: Add CIDR format
kenjones-cisco Mar 7, 2019
4d736b2
Merge pull request #48 from kenjones-cisco/feature/cidr-format
fredbi Mar 11, 2019
691579c
Add object disable array check option
tossmilestone Mar 21, 2019
5b1623b
Merge pull request #106 from tossmilestone/fix-array-items
casualjim Mar 21, 2019
c004288
Use google/uuid not pborman/uuid
justincormack Mar 22, 2019
29177d4
Merge pull request #50 from justincormack/uuid
casualjim Mar 22, 2019
3fd099a
Fix schema options aren't propagated to childs (#107)
tossmilestone Apr 3, 2019
5029a76
Handle JSON null values for DateTime
ligustah Apr 8, 2019
b0d6b39
Merge pull request #52 from ligustah/fix-time-json-null
casualjim Apr 8, 2019
57bf448
Issue #53: Added support for parsing ISO8601 timestamps that are in l…
jwalter1-quest Apr 11, 2019
e87a5af
Merge pull request #54 from jeffreydwalter/master
casualjim Apr 11, 2019
cb961e9
Fixed gob encoding/decoding for SwaggerProps
fredbi Apr 16, 2019
9d9763c
Merge pull request #90 from fredbi/fix-gob-security
casualjim Apr 16, 2019
915f417
Add nullable
sttts May 10, 2019
b2056d6
Merge pull request #91 from sttts/sttts-nullable
casualjim May 10, 2019
505f35f
Add nullable
sttts May 10, 2019
a2e819b
Merge pull request #109 from sttts/sttts-nullable
casualjim May 10, 2019
fa1c2cc
update .travis.yml for go1.12
casualjim Jun 16, 2019
bdfd7e0
update go.mod and travis for go1.12
casualjim Jun 16, 2019
6405b90
update go.mod and travis for go1.12
casualjim Jun 17, 2019
49685d4
Fix function comments based on best practices from Effective Go
CodeLingoBot Mar 17, 2019
a3e0926
remove easyjson dependency
casualjim Jun 16, 2019
f620df9
use official mongodb driver
casualjim Jun 17, 2019
432db8f
fix linting issues
casualjim Jun 17, 2019
ecb9ab3
revert back to stdencodign for base64
casualjim Jul 5, 2019
6faa644
Merge pull request #57 from go-openapi/fix-base64-regression
fredbi Jul 5, 2019
2223ab3
fix expanding for go 1.13
casualjim Sep 8, 2019
d8e712d
update to newer spec for go1.13 compatibility
casualjim Sep 8, 2019
d85eac7
Add parameter type and validation match check (#116)
Oct 3, 2019
cae306c
Refactor type formats (#117)
ilyakaznacheev Oct 3, 2019
e0a8a7d
Bump go-yaml version to cover fixed ddos heuristic
petrkotas Oct 17, 2019
80d596e
Merge pull request #118 from petrkotas/go-yaml-fix
casualjim Oct 17, 2019
cac980b
linting, excluding test
fredbi Oct 17, 2019
1170d1c
Merge pull request #120 from fredbi/fix-relinting-excl-tests
casualjim Oct 25, 2019
cc050a9
linting & refactoring tests
fredbi Oct 17, 2019
6cf224c
Fixes issues related to swagger-specific rules with array schemas and…
fredbi Oct 17, 2019
08232b6
Merge pull request #119 from fredbi/fix-items
casualjim Nov 6, 2019
5388388
Add 'pkg/validation/errors/' from commit '79f62bc27c99a0c81cbd7cfdced…
sttts Nov 5, 2020
41abdff
Add 'pkg/validation/validate/' from commit '3f99090fb9b5c19d4b814575b…
sttts Nov 5, 2020
4231b2d
Add 'pkg/validation/spec/' from commit '3b94d049fd4e1a0ad441b1d45bb33…
sttts Nov 5, 2020
d5ff47f
Add 'pkg/validation/strfmt/' from commit '4582ae0121f5848b90e7a251223…
sttts Nov 5, 2020
c8c0761
pkg/validation: adapt imports
sttts Oct 28, 2020
73fa09a
pkg/validation: strip spec package
sttts Oct 28, 2020
d3e34b6
pkg/validation: strip strfmt package
sttts Oct 28, 2020
cc84d3c
pkg/validation: strip validate package
sttts Oct 28, 2020
12b99a1
pkg/validation: strip errors package
sttts Oct 28, 2020
810b3bd
pkg/validation/validate: delete misplaced $schema and id logic
sttts Oct 28, 2020
7c24206
pkg/validation/validate: remove Swagger specific options
sttts Oct 28, 2020
2feab02
pkg/validation: disconnect from mongo libraries
sttts Oct 28, 2020
6d4b372
pkg/validation: revert github.com/go-openapi/validate/pull/81
sttts Oct 29, 2020
f11f208
pkg/validation: remove yaml dependency
sttts Oct 29, 2020
79abcd8
go mod tidy
sttts Oct 28, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 9 additions & 10 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,28 @@ go 1.12

require (
github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46
github.com/PuerkitoBio/purell v1.0.0 // indirect
github.com/PuerkitoBio/urlesc v0.0.0-20160726150825-5bd2802263f2 // indirect
github.com/davecgh/go-spew v1.1.0
github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a
sttts marked this conversation as resolved.
Show resolved Hide resolved
github.com/davecgh/go-spew v1.1.1
github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633
github.com/ghodss/yaml v0.0.0-20150909031657-73d445a93680
github.com/go-openapi/jsonpointer v0.0.0-20160704185906-46af16f9f7b1 // indirect
github.com/go-openapi/jsonreference v0.0.0-20160704190145-13c6e3589ad9 // indirect
github.com/go-openapi/spec v0.0.0-20160808142527-6aced65f8501
github.com/go-openapi/swag v0.0.0-20160704191624-1d0bd113de87 // indirect
github.com/go-openapi/jsonpointer v0.19.3
github.com/go-openapi/jsonreference v0.19.3
github.com/go-openapi/spec v0.19.3
github.com/go-openapi/swag v0.19.5
github.com/golang/protobuf v1.3.3
github.com/google/go-cmp v0.4.0 // indirect
github.com/google/gofuzz v1.0.0
github.com/google/uuid v1.1.1
github.com/googleapis/gnostic v0.4.1
github.com/json-iterator/go v1.1.6
github.com/mailru/easyjson v0.0.0-20160728113105-d5b7844b561a // indirect
github.com/mitchellh/mapstructure v1.1.2
github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d
github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c
github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c
github.com/spf13/pflag v0.0.0-20170130214245-9ff6c6923cff
github.com/stretchr/testify v1.3.0
golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e // indirect
golang.org/x/tools v0.0.0-20181011042414-1f849cf54d09 // indirect
gopkg.in/yaml.v2 v2.2.2
gopkg.in/yaml.v2 v2.2.8
k8s.io/gengo v0.0.0-20200413195148-3a45101e95ac
k8s.io/klog/v2 v2.0.0
sigs.k8s.io/structured-merge-diff/v4 v4.0.1
Expand Down
61 changes: 45 additions & 16 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,43 +1,57 @@
github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46 h1:lsxEuwrXEAokXB9qhlbKWPpo3KMLZQ5WB5WLQRW1uq0=
github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ=
github.com/PuerkitoBio/purell v1.0.0 h1:0GoNN3taZV6QI81IXgCbxMyEaJDXMSIjArYBCYzVVvs=
github.com/PuerkitoBio/purell v1.0.0/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0=
github.com/PuerkitoBio/urlesc v0.0.0-20160726150825-5bd2802263f2 h1:JCHLVE3B+kJde7bIEo5N4J+ZbLhp0J1Fs+ulyRws4gE=
github.com/PuerkitoBio/urlesc v0.0.0-20160726150825-5bd2802263f2/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE=
github.com/PuerkitoBio/purell v1.1.1 h1:WEQqlqaGbrPkxLJWfBwQmfEAE1Z7ONdDLqrN38tNFfI=
github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0=
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 h1:d+Bc7a5rLufV/sSk/8dngufqelfh6jnri85riMAaF/M=
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE=
github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a h1:idn718Q4B6AGu/h5Sxe66HYVdqdGu2l9Iebqhi/AEoA=
github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY=
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE=
github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633 h1:H2pdYOb3KQ1/YsqVWoWNLQO+fusocsw354rqGTZtAgw=
github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs=
github.com/ghodss/yaml v0.0.0-20150909031657-73d445a93680 h1:ZktWZesgun21uEDrwW7iEV1zPCGQldM2atlJZ3TdvVM=
github.com/ghodss/yaml v0.0.0-20150909031657-73d445a93680/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
github.com/go-logr/logr v0.1.0 h1:M1Tv3VzNlEHg6uyACnRdtrploV2P7wZqH8BoQMtz0cg=
github.com/go-logr/logr v0.1.0/go.mod h1:ixOQHD9gLJUVQQ2ZOR7zLEifBX6tGkNJF4QyIY7sIas=
github.com/go-openapi/jsonpointer v0.0.0-20160704185906-46af16f9f7b1 h1:wSt/4CYxs70xbATrGXhokKF1i0tZjENLOo1ioIO13zk=
github.com/go-openapi/jsonpointer v0.0.0-20160704185906-46af16f9f7b1/go.mod h1:+35s3my2LFTysnkMfxsJBAMHj/DoqoB9knIWoYG/Vk0=
github.com/go-openapi/jsonreference v0.0.0-20160704190145-13c6e3589ad9 h1:tF+augKRWlWx0J0B7ZyyKSiTyV6E1zZe+7b3qQlcEf8=
github.com/go-openapi/jsonreference v0.0.0-20160704190145-13c6e3589ad9/go.mod h1:W3Z9FmVs9qj+KR4zFKmDPGiLdk1D9Rlm7cyMvf57TTg=
github.com/go-openapi/spec v0.0.0-20160808142527-6aced65f8501 h1:C1JKChikHGpXwT5UQDFaryIpDtyyGL/CR6C2kB7F1oc=
github.com/go-openapi/spec v0.0.0-20160808142527-6aced65f8501/go.mod h1:J8+jY1nAiCcj+friV/PDoE1/3eeccG9LYBs0tYvLOWc=
github.com/go-openapi/swag v0.0.0-20160704191624-1d0bd113de87 h1:zP3nY8Tk2E6RTkqGYrarZXuzh+ffyLDljLxCy1iJw80=
github.com/go-openapi/swag v0.0.0-20160704191624-1d0bd113de87/go.mod h1:DXUve3Dpr1UfpPtxFw+EFuQ41HhCWZfha5jSVRG7C7I=
github.com/go-openapi/jsonpointer v0.19.2/go.mod h1:3akKfEdA7DF1sugOqz1dVQHBcuDBPKZGEoHC/NkiQRg=
github.com/go-openapi/jsonpointer v0.19.3 h1:gihV7YNZK1iK6Tgwwsxo2rJbD1GTbdm72325Bq8FI3w=
github.com/go-openapi/jsonpointer v0.19.3/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg=
github.com/go-openapi/jsonreference v0.19.2/go.mod h1:jMjeRr2HHw6nAVajTXJ4eiUwohSTlpa0o73RUL1owJc=
github.com/go-openapi/jsonreference v0.19.3 h1:5cxNfTy0UVC3X8JL5ymxzyoUZmo8iZb+jeTWn7tUa8o=
github.com/go-openapi/jsonreference v0.19.3/go.mod h1:rjx6GuL8TTa9VaixXglHmQmIL98+wF9xc8zWvFonSJ8=
github.com/go-openapi/spec v0.19.3 h1:0XRyw8kguri6Yw4SxhsQA/atC88yqrk0+G4YhI2wabc=
github.com/go-openapi/spec v0.19.3/go.mod h1:FpwSN1ksY1eteniUU7X0N/BgJ7a4WvBFVA8Lj9mJglo=
github.com/go-openapi/swag v0.19.2/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk=
github.com/go-openapi/swag v0.19.5 h1:lTz6Ys4CmqqCQmZPBlbQENR1/GucA2bzYTE12Pw4tFY=
github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk=
github.com/golang/protobuf v1.3.3 h1:gyjaxf+svBWX08ZjK86iN9geUJF0H6gp2IRKX6Nf6/I=
github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw=
github.com/google/go-cmp v0.4.0 h1:xsAVV57WRhGj6kEIi8ReJzQlHHqcBYCElAvkovg3B/4=
github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/gofuzz v1.0.0 h1:A8PeW59pxE9IoFRqBp37U+mSNaQoZ46F1f0f863XSXw=
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
github.com/google/uuid v1.1.1 h1:Gkbcsh/GbpXz7lPftLA3P6TYMwjCLYm83jiFQZF/3gY=
github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/googleapis/gnostic v0.4.1 h1:DLJCy1n/vrD4HPjOvYcT8aYQXpPIzoRZONaYwyycI+I=
github.com/googleapis/gnostic v0.4.1/go.mod h1:LRhVm6pbyptWbWbuZ38d1eyptfvIytN3ir6b65WBswg=
github.com/json-iterator/go v1.1.6 h1:MrUvLMLTMxbqFJ9kzlvat/rYZqZnW3u4wkLzWTaFwKs=
github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU=
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
github.com/kr/pretty v0.2.0 h1:s5hAObm+yFO5uHYt5dYjxi2rXrsnmRpJx4OYvIWUaQs=
github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI=
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/pty v1.1.5/go.mod h1:9r2w37qlBe7rQ6e1fg1S/9xpWHSnaqNdHD3WcMdbPDA=
github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/mailru/easyjson v0.0.0-20160728113105-d5b7844b561a h1:TpvdAwDAt1K4ANVOfcihouRdvP+MgAfDWwBuct4l6ZY=
github.com/mailru/easyjson v0.0.0-20160728113105-d5b7844b561a/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e h1:hB2xlXdHp/pmPZq0y3QnmWAArdw9PqbmotexnWx/FU8=
github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
github.com/mitchellh/mapstructure v1.1.2 h1:fmNYVwqnSfB9mZU6OS2O6GsXM+wcskZDuKQzvN1EDeE=
github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
github.com/modern-go/reflect2 v1.0.1 h1:9f412s+6RmYXLWZSEzVVgPGK7C2PphHj5RJrvfx9AWI=
Expand All @@ -53,29 +67,44 @@ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZN
github.com/spf13/pflag v0.0.0-20170130214245-9ff6c6923cff h1:VARhShG49tiji6mdRNp7JTNDtJ0FhuprF93GBQ37xGU=
github.com/spf13/pflag v0.0.0-20170130214245-9ff6c6923cff/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE=
github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q=
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 h1:VklqNMn3ovrHsnt90PveolxSbWFaJdECFbxSq0Mqo2M=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20190611184440-5c40567a22f8/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e h1:3G+cUijn7XD+S4eJFddp53Pv7+slrESplyjG25HgL+k=
golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20190616124812-15dcb6c0061f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd h1:xhmwyvizuTgC2qz7ZlMluP20uW+C3Rm0FD/WLDX8884=
golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/tools v0.0.0-20181011042414-1f849cf54d09 h1:6Cq5LXQ/D2J5E7sYJemWSQApczOzY1rxSp8TWloyxIY=
golang.org/x/tools v0.0.0-20181011042414-1f849cf54d09/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/text v0.3.2 h1:tW2bmiBqwgJj/UpqtC8EpXEZVYOwU0yG4iWbprSVAcs=
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20190614205625-5aca471b1d59 h1:QjA/9ArTfVTLfEhClDCG7SGrZkZixxWpwNCDiwJfh88=
golang.org/x/tools v0.0.0-20190614205625-5aca471b1d59/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
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=
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo=
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v2 v2.2.1 h1:mUhvW9EsL+naU5Q3cakzfE91YhliOondGd6ZrsDBHQE=
gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw=
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10=
gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
k8s.io/gengo v0.0.0-20200413195148-3a45101e95ac h1:sAvhNk5RRuc6FNYGqe7Ygz3PSo/2wGWbulskmzRX8Vs=
k8s.io/gengo v0.0.0-20200413195148-3a45101e95ac/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0=
k8s.io/klog/v2 v2.0.0 h1:Foj74zO6RbjjP4hBEKjnYtjjAhGg4jNynUdYF6fJrok=
Expand Down
117 changes: 117 additions & 0 deletions pkg/validation/errors/.github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
## Contribution Guidelines

### Pull requests are always welcome

We are always thrilled to receive pull requests, and do our best to
process them as fast as possible. Not sure if that typo is worth a pull
request? Do it! We will appreciate it.

If your pull request is not accepted on the first try, don't be
discouraged! If there's a problem with the implementation, hopefully you
received feedback on what to improve.

We're trying very hard to keep go-swagger lean and focused. We don't want it
to do everything for everybody. This means that we might decide against
incorporating a new feature. However, there might be a way to implement
that feature *on top of* go-swagger.


### Conventions

Fork the repo and make changes on your fork in a feature branch:

- If it's a bugfix branch, name it XXX-something where XXX is the number of the
issue
- If it's a feature branch, create an enhancement issue to announce your
intentions, and name it XXX-something where XXX is the number of the issue.

Submit unit tests for your changes. Go has a great test framework built in; use
it! Take a look at existing tests for inspiration. Run the full test suite on
your branch before submitting a pull request.

Update the documentation when creating or modifying features. Test
your documentation changes for clarity, concision, and correctness, as
well as a clean documentation build. See ``docs/README.md`` for more
information on building the docs and how docs get released.

Write clean code. Universally formatted code promotes ease of writing, reading,
and maintenance. Always run `gofmt -s -w file.go` on each changed file before
committing your changes. Most editors have plugins that do this automatically.

Pull requests descriptions should be as clear as possible and include a
reference to all the issues that they address.

Pull requests must not contain commits from other users or branches.

Commit messages must start with a capitalized and short summary (max. 50
chars) written in the imperative, followed by an optional, more detailed
explanatory text which is separated from the summary by an empty line.

Code review comments may be added to your pull request. Discuss, then make the
suggested modifications and push additional commits to your feature branch. Be
sure to post a comment after pushing. The new commits will show up in the pull
request automatically, but the reviewers will not be notified unless you
comment.

Before the pull request is merged, make sure that you squash your commits into
logical units of work using `git rebase -i` and `git push -f`. After every
commit the test suite should be passing. Include documentation changes in the
same commit so that a revert would remove all traces of the feature or fix.

Commits that fix or close an issue should include a reference like `Closes #XXX`
or `Fixes #XXX`, which will automatically close the issue when merged.

### Sign your work

The sign-off is a simple line at the end of the explanation for the
patch, which certifies that you wrote it or otherwise have the right to
pass it on as an open-source patch. The rules are pretty simple: if you
can certify the below (from
[developercertificate.org](http://developercertificate.org/)):

```
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
660 York Street, Suite 102,
San Francisco, CA 94110 USA

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.


Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or

(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or

(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.

(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.
```

then you just add a line to every git commit message:

Signed-off-by: Joe Smith <[email protected]>

using your real name (sorry, no pseudonyms or anonymous contributions.)

You can add the sign off when creating the git commit via `git commit -s`.
2 changes: 2 additions & 0 deletions pkg/validation/errors/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
secrets.yml
coverage.out
Loading