automation-tests/common/vendor/github.com/go-openapi/validate
Daniel J Walsh 733a6be628 Update vendor of containers/image
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2023-04-05 07:12:02 -04:00
..
.editorconfig Bump containers/(ocicrypt,storage, image) 2023-01-20 09:43:28 -05:00
.gitattributes Bump containers/(ocicrypt,storage, image) 2023-01-20 09:43:28 -05:00
.gitignore Bump containers/(ocicrypt,storage, image) 2023-01-20 09:43:28 -05:00
.golangci.yml Bump containers/(ocicrypt,storage, image) 2023-01-20 09:43:28 -05:00
CODE_OF_CONDUCT.md Bump containers/(ocicrypt,storage, image) 2023-01-20 09:43:28 -05:00
LICENSE Bump containers/(ocicrypt,storage, image) 2023-01-20 09:43:28 -05:00
README.md Bump containers/(ocicrypt,storage, image) 2023-01-20 09:43:28 -05:00
appveyor.yml Bump containers/(ocicrypt,storage, image) 2023-01-20 09:43:28 -05:00
context.go Bump containers/(ocicrypt,storage, image) 2023-01-20 09:43:28 -05:00
debug.go Bump containers/(ocicrypt,storage, image) 2023-01-20 09:43:28 -05:00
default_validator.go Bump containers/(ocicrypt,storage, image) 2023-01-20 09:43:28 -05:00
doc.go Bump containers/(ocicrypt,storage, image) 2023-01-20 09:43:28 -05:00
example_validator.go Bump containers/(ocicrypt,storage, image) 2023-01-20 09:43:28 -05:00
formats.go Bump containers/(ocicrypt,storage, image) 2023-01-20 09:43:28 -05:00
helpers.go Bump containers/(ocicrypt,storage, image) 2023-01-20 09:43:28 -05:00
object_validator.go Bump containers/(ocicrypt,storage, image) 2023-01-20 09:43:28 -05:00
options.go Bump containers/(ocicrypt,storage, image) 2023-01-20 09:43:28 -05:00
result.go Bump containers/(ocicrypt,storage, image) 2023-01-20 09:43:28 -05:00
rexp.go Bump containers/(ocicrypt,storage, image) 2023-01-20 09:43:28 -05:00
schema.go Bump containers/(ocicrypt,storage, image) 2023-01-20 09:43:28 -05:00
schema_messages.go Bump containers/(ocicrypt,storage, image) 2023-01-20 09:43:28 -05:00
schema_option.go Bump containers/(ocicrypt,storage, image) 2023-01-20 09:43:28 -05:00
schema_props.go Bump containers/(ocicrypt,storage, image) 2023-01-20 09:43:28 -05:00
slice_validator.go Bump containers/(ocicrypt,storage, image) 2023-01-20 09:43:28 -05:00
spec.go Bump containers/(ocicrypt,storage, image) 2023-01-20 09:43:28 -05:00
spec_messages.go Bump containers/(ocicrypt,storage, image) 2023-01-20 09:43:28 -05:00
type.go Bump containers/(ocicrypt,storage, image) 2023-01-20 09:43:28 -05:00
update-fixtures.sh Bump containers/(ocicrypt,storage, image) 2023-01-20 09:43:28 -05:00
validator.go Bump containers/(ocicrypt,storage, image) 2023-01-20 09:43:28 -05:00
values.go Update vendor of containers/image 2023-04-05 07:12:02 -04:00

README.md

Validation helpers

Build Status Build status codecov Slack Status license Go Reference Go Report Card

This package provides helpers to validate Swagger 2.0. specification (aka OpenAPI 2.0).

Reference can be found here: https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md.

What's inside?

  • A validator for Swagger specifications
  • A validator for JSON schemas draft4
  • Helper functions to validate individual values (used by code generated by go-swagger).
    • Required, RequiredNumber, RequiredString
    • ReadOnly
    • UniqueItems, MaxItems, MinItems
    • Enum, EnumCase
    • Pattern, MinLength, MaxLength
    • Minimum, Maximum, MultipleOf
    • FormatOf

Documentation

FAQ

  • Does this library support OpenAPI 3?

No. This package currently only supports OpenAPI 2.0 (aka Swagger 2.0). There is no plan to make it evolve toward supporting OpenAPI 3.x. This discussion thread relates the full story.

An early attempt to support Swagger 3 may be found at: https://github.com/go-openapi/spec3