debian-forge-composer/vendor/github.com/go-openapi/swag
Chloe Kaubisch 13c79294b6 cloudapi: validate input
Validate incoming requests with openapi3. Remove unsupported
uuid format from the openapi spec. Similarly, change url to uri as
uri is a supported format and url is not.

Co-authored-by: Ondřej Budai <obudai@redhat.com>
Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2022-05-16 13:20:46 +02:00
..
.editorconfig go.mod: Update oapi-codegen and kin-openapi 2022-01-12 11:35:06 +01:00
.gitattributes cloudapi: validate input 2022-05-16 13:20:46 +02:00
.gitignore go.mod: Update oapi-codegen and kin-openapi 2022-01-12 11:35:06 +01:00
.golangci.yml cloudapi: validate input 2022-05-16 13:20:46 +02:00
CODE_OF_CONDUCT.md go.mod: Update oapi-codegen and kin-openapi 2022-01-12 11:35:06 +01:00
convert.go cloudapi: validate input 2022-05-16 13:20:46 +02:00
convert_types.go cloudapi: validate input 2022-05-16 13:20:46 +02:00
doc.go go.mod: Update oapi-codegen and kin-openapi 2022-01-12 11:35:06 +01:00
file.go cloudapi: validate input 2022-05-16 13:20:46 +02:00
go.mod cloudapi: validate input 2022-05-16 13:20:46 +02:00
go.sum cloudapi: validate input 2022-05-16 13:20:46 +02:00
json.go cloudapi: validate input 2022-05-16 13:20:46 +02:00
LICENSE go.mod: Update oapi-codegen and kin-openapi 2022-01-12 11:35:06 +01:00
loading.go cloudapi: validate input 2022-05-16 13:20:46 +02:00
name_lexem.go go.mod: Update oapi-codegen and kin-openapi 2022-01-12 11:35:06 +01:00
net.go go.mod: Update oapi-codegen and kin-openapi 2022-01-12 11:35:06 +01:00
path.go go.mod: Update oapi-codegen and kin-openapi 2022-01-12 11:35:06 +01:00
post_go18.go cloudapi: validate input 2022-05-16 13:20:46 +02:00
post_go19.go cloudapi: validate input 2022-05-16 13:20:46 +02:00
pre_go18.go cloudapi: validate input 2022-05-16 13:20:46 +02:00
pre_go19.go cloudapi: validate input 2022-05-16 13:20:46 +02:00
README.md cloudapi: validate input 2022-05-16 13:20:46 +02:00
split.go go.mod: Update oapi-codegen and kin-openapi 2022-01-12 11:35:06 +01:00
util.go cloudapi: validate input 2022-05-16 13:20:46 +02:00
yaml.go go.mod: Update oapi-codegen and kin-openapi 2022-01-12 11:35:06 +01:00

Swag Build Status codecov Slack Status

license GoDoc Go Report Card

Contains a bunch of helper functions for go-openapi and go-swagger projects.

You may also use it standalone for your projects.

  • convert between value and pointers for builtin types
  • convert from string to builtin types (wraps strconv)
  • fast json concatenation
  • search in path
  • load from file or http
  • name mangling

This repo has only few dependencies outside of the standard library:

  • YAML utilities depend on gopkg.in/yaml.v2