Skip to content

Conversation

@Kentalot
Copy link
Contributor

Description

This fixes #7017 where we can produce a better openapi spec.

@hpaknia
Copy link

hpaknia commented Oct 24, 2019

Can someone review and merge?
CC @rpkilby @carltongibson

@hpaknia
Copy link

hpaknia commented Oct 28, 2019

@rpkilby can you check. We are waiting for this.

@rpkilby
Copy link
Contributor

rpkilby commented Oct 28, 2019

Hi @hpaknia, waiting for @carltongibson to review, as schemas are more his domain.

@Kentalot
Copy link
Contributor Author

Kentalot commented Nov 1, 2019

Any updates on this? it's a relatively minor change.

Copy link
Collaborator

@carltongibson carltongibson left a comment

Choose a reason for hiding this comment

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

Yes, this looks sensible. Thanks very much!

@carltongibson carltongibson added this to the 3.11 Release milestone Nov 6, 2019
@carltongibson carltongibson changed the title Add better openapi spec generation for integer fields larger than 32bits OpenAPI: Use int64 format for large integers. Nov 6, 2019
@carltongibson carltongibson merged commit becb962 into encode:master Nov 6, 2019
pchiquet pushed a commit to pchiquet/django-rest-framework that referenced this pull request Nov 17, 2020
sigvef pushed a commit to sigvef/django-rest-framework that referenced this pull request Dec 3, 2022
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.

integer types that are greater than 32bit should use format int64

4 participants