You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The resulting openapi/swagger docs will have a data type of string for the "that" filter, not integer, which is what I'd think it should be, as we're searching for an integer PK after all. Passing in just the int, unquoted, seems to work fine, so I think this is just documentation, not an actual filter issue.
The text was updated successfully, but these errors were encountered:
Given a Django model with a FK that is an integer, the openapi documentation shows the filter as taking a string argument, not an integer.
Given:
The resulting openapi/swagger docs will have a data type of string for the "that" filter, not integer, which is what I'd think it should be, as we're searching for an integer PK after all. Passing in just the int, unquoted, seems to work fine, so I think this is just documentation, not an actual filter issue.
The text was updated successfully, but these errors were encountered: