10000 Default OpenAPI version to the empty string (#6907) · coderanger/django-rest-framework@4b30b32 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4b30b32

Browse files
authored
Default OpenAPI version to the empty string (encode#6907)
1 parent c0cf37e commit 4b30b32

File tree

1 file changed

+1
-1
lines changed

rest_framework/schemas/generators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ class BaseSchemaGenerator(object):
151151
# Set by 'SCHEMA_COERCE_PATH_PK'.
152152
coerce_path_pk = None
153153

154-
def __init__(self, title=None, url=None, description=None, patterns=None, urlconf=None, version='0.1.0'):
154+
def __init__(self, title=None, url=None, description=None, patterns=None, urlconf=None, version=''):
155155
if url and not url.endswith('/'):
156156
url += '/'
157157

0 commit comments

Comments
 (0)
0