Skip to content

Commit

Permalink
Default OpenAPI version to the empty string (#6907)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomchristie committed Sep 4, 2019
1 parent c0cf37e commit 4b30b32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rest_framework/schemas/generators.py
Expand Up @@ -151,7 +151,7 @@ class BaseSchemaGenerator(object):
# Set by 'SCHEMA_COERCE_PATH_PK'.
coerce_path_pk = None

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

Expand Down

0 comments on commit 4b30b32

Please sign in to comment.