Project

Profile

Help

« Previous | Next » 

Revision bb6a2170

Added by dkliban@redhat.com about 2 years ago

Problem: created resources OpenAPI schema is not specific enough

Solution: strongly type created resources as an array of strings

This patch changes the CreatedResource serializer to inherit from the RelatedField serializer. This lets the OpenAPI schema generator know that created resources are URI strings.

closes: #4053 https://pulp.plan.io/issues/4053