diff options
author | Tristan Cacqueray <tdecacqu@redhat.com> | 2021-02-24 17:57:27 +0000 |
---|---|---|
committer | Tristan Cacqueray <tdecacqu@redhat.com> | 2021-02-24 18:34:57 +0000 |
commit | 1aa96ed2e233039cd7ec81418a3a2cf9cd46b33b (patch) | |
tree | 4456d7e7e0c57270545564c686814ebe3c298324 /libpod/util_test.go | |
parent | dec06b1c3fbfad3fc75702f73ea59891a64989ad (diff) | |
download | podman-1aa96ed2e233039cd7ec81418a3a2cf9cd46b33b.tar.gz podman-1aa96ed2e233039cd7ec81418a3a2cf9cd46b33b.tar.bz2 podman-1aa96ed2e233039cd7ec81418a3a2cf9cd46b33b.zip |
swagger: removes the schema type for PodSpecGenerator $ref
When using a $ref, the type is ignored and it can confuse the openapi codegen
and make it fails with this error:
attribute paths.'/libpod/pods/create'(post).[create].type is unexpected
This change removes the schema type attribute.
Signed-off-by: Tristan Cacqueray <tdecacqu@redhat.com>
Diffstat (limited to 'libpod/util_test.go')
0 files changed, 0 insertions, 0 deletions