summaryrefslogtreecommitdiff
path: root/pkg/api/Makefile
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2020-02-10 11:03:37 -0600
committerBrent Baude <bbaude@redhat.com>2020-02-11 08:14:28 -0600
commitddffc865f34fee7aa390869e7a0f58f688cee8a8 (patch)
tree879b44033d1e26a297abca1d4ae8d0e459009e97 /pkg/api/Makefile
parentd9fa5af701b46a29d06d604ac2feacda07dbe255 (diff)
downloadpodman-ddffc865f34fee7aa390869e7a0f58f688cee8a8.tar.gz
podman-ddffc865f34fee7aa390869e7a0f58f688cee8a8.tar.bz2
podman-ddffc865f34fee7aa390869e7a0f58f688cee8a8.zip
Rewire ListContainers for APIv2 libpod
consumers of the api remarked how they would prefer a more strongly typed data structure from list containers oon the libpod side of things. for example, events should be consumable and consistent timestamps. also, for the sake of compatibility, it is helpful to have the json named atttributes for Id to not be ID. listcontainers on the libpod side no longer strongly uses the the ps cli to obtain information but we do benefit from turning on the ability to list the last X containers, something CLI does not have yet. we also flipped the bit on defaulting to truncated output in the return. thanks to the efforts of the cockpit team to help us here. Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/api/Makefile')
-rw-r--r--pkg/api/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/api/Makefile b/pkg/api/Makefile
index c68e50011..6b24bfd83 100644
--- a/pkg/api/Makefile
+++ b/pkg/api/Makefile
@@ -9,4 +9,4 @@ validate: ${SWAGGER_OUT}
${SWAGGER_OUT}:
# generate doesn't remove file on error
rm -f ${SWAGGER_OUT}
- swagger generate spec -o ${SWAGGER_OUT} -i tags.yaml -w ./
+ swagger generate spec -o ${SWAGGER_OUT} -i tags.yaml -w ./ -m