axnsan12 / drf-yasg

Automated generation of real Swagger/OpenAPI 2.0 schemas from Django REST Framework code.
https://drf-yasg.readthedocs.io/en/stable/
Other
3.42k stars 439 forks source link

get_schema_fields breaks when using django-filters after last update #856

Closed Qadosch closed 1 year ago

Qadosch commented 1 year ago

Bug Report

Description

Used by class CoreAPICompatInspector get_schema_fields is implemented on django-filters filter backend. By removing depentancy on coreapi in last 1.21.6 the function stopped working.

Is this a regression?

yes it worked in 1.21.5

onegreyonewhite commented 1 year ago

@Qadosch you should install with extra coreapi (like drf-yasg[coreapi]. Or wait next release with #857 (not required coreapi)

Qadosch commented 1 year ago

Duplicate of #857