Skip to content

Conversation

@noamkush
Copy link
Contributor

This simply avoids emitting callable field defaults to the openapi schema.
Fixes #6858

@drsantos20
Copy link

Hi @noamkush this pr is ready to review?

@noamkush
Copy link
Contributor Author

Yes, it is.

@lovelydinosaur
Copy link
Contributor

Great stuff, yup. Thanks!

@lovelydinosaur lovelydinosaur merged commit ced37a5 into encode:master Jan 3, 2020
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
@noamkush noamkush deleted the openapi-callable-default branch August 26, 2024 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OpenAPI schema generation does not handle callable defaults

3 participants