Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: SerializedPKRelatedField schema for openapi (drf-spectacular) #15037

Merged

Conversation

Smixi
Copy link
Contributor

@Smixi Smixi commented Feb 4, 2024

Fixes: #14982

Added a schema extension for drf-spectular for SerializedPKRelatedField class, because request and response are different.

@Smixi Smixi changed the title fix: SerializedPKRelatedField schema now use nested serializer or res… fix: SerializedPKRelatedField schema for openapi (drf-spectacular) Feb 4, 2024
@janhlavin
Copy link

is it possible to solve the pull-request? we cannot update to Netbox 3.7.x

Copy link
Member

@jeremystretch jeremystretch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Smixi! Apologies for the delay.

@jeremystretch jeremystretch merged commit 79b9ef7 into netbox-community:develop May 17, 2024
4 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Swagger vs REST API: Interface.wireless_lans array
3 participants