Skip to content

Releases: axnsan12/drf-yasg

1.1.3

02 Jan 21:35
Compare
Choose a tag to compare
  • FIXED: schema view cache will now always Vary on the Cookie and Authentication (the
    Vary header was previously only added if public was set to True) - this fixes issues related to Django authentication in swagger-ui and CurrentUserDefault values in the schema

1.1.2

01 Jan 18:44
Compare
Choose a tag to compare
  • IMPROVED: updated swagger-ui to version 3.8.1
  • IMPROVED: removed some unneeded static files

1.1.1

27 Dec 20:11
Compare
Choose a tag to compare
  • ADDED: generate_swagger management command (#29, #31, thanks to @beaugunderson)
  • FIXED: fixed improper generation of \Z regex tokens - will now be repalced by $

1.1.0

26 Dec 23:35
Compare
Choose a tag to compare
  • ADDED: added support for APIs versioned with URLPathVersioning or NamespaceVersioning
  • ADDED: added ability to recursively customize schema generation using pluggable inspector classes
  • ADDED: added operation_id parameter to @swagger_auto_schema
  • ADDED: integration with djangorestframework-camel-case (#28)
  • IMPROVED: strings, arrays and integers will now have min/max validation attributes inferred from the field-level validators
  • FIXED: fixed a bug that caused title to never be generated for Schemas; title is now correctly populated from the field's label property

1.0.6

23 Dec 12:39
Compare
Choose a tag to compare
  • FIXED: Swagger UI "Try it out!" should now work with Django login
  • FIXED: callable default values on serializer fields will now be properly called (#24, #25)
  • IMPROVED: updated swagger-ui to version 3.8.0
  • IMPROVED: PrimaryKeyRelatedField and SlugRelatedField will now have
    appropriate types based on the related model (#26 )
  • IMPROVED: mock views will now have a bound request even with public=False (#23)

1.0.5

18 Dec 15:38
7683a28
Compare
Choose a tag to compare
  • FIXED: fixed a crash caused by having read-only Serializers nested by reference
  • FIXED: removed erroneous backslashes in paths when routes are generated using Django 2
    path()
  • IMPROVED: updated swagger-ui to version 3.7.0
  • IMPROVED: FileField is now generated as an URL or file name in response Schemas
    (#21, thanks to @h-hirokawa)

1.0.4

16 Dec 17:20
a2c2153
Compare
Choose a tag to compare
  • FIX: fixed improper generation of YAML references
  • FEATURE: added query_serializer parameter to swagger_auto_schema (#16, #17)

1.0.3

16 Dec 17:20
Compare
Choose a tag to compare
  • FIX: fixed bug that caused schema views returned from cache to fail (#14)
  • FIX: disabled automatic generation of response schemas for form operations to avoid confusing errors caused by
    attempting to shove file parameters into Schema objects

1.0.2

16 Dec 17:21
Compare
Choose a tag to compare

First version.