Skip to content

Use separate serializer for token create response - #49

Closed
dralley wants to merge 1 commit into
pulp:mainfrom
dralley:separate-create-serializer
Closed

Use separate serializer for token create response#49
dralley wants to merge 1 commit into
pulp:mainfrom
dralley:separate-create-serializer

Conversation

@dralley

@dralley dralley commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Split CargoTokenSerializer into a base serializer (without token field) for list/retrieve and a CargoTokenCreateResponseSerializer (with token) for create responses. This avoids exposing an always-null token field in the list schema and produces more accurate OpenAPI bindings.

Assisted-By: Claude Opus 4.6

Split CargoTokenSerializer into a base serializer (without token field)
for list/retrieve and a CargoTokenCreateResponseSerializer (with token)
for create responses. This avoids exposing an always-null token field
in the list schema and produces more accurate OpenAPI bindings.

Assisted-By: Claude Opus 4.6
@dralley
dralley force-pushed the separate-create-serializer branch from 8663254 to 1fc1ea8 Compare July 29, 2026 18:24
@dralley dralley closed this Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant