diff --git a/codegen/JsonDescriptionOfGithubApiV3/description.000.human_readable.json b/codegen/JsonDescriptionOfGithubApiV3/description.human_readable.json similarity index 100% rename from codegen/JsonDescriptionOfGithubApiV3/description.000.human_readable.json rename to codegen/JsonDescriptionOfGithubApiV3/description.human_readable.json diff --git a/codegen/JsonDescriptionOfGithubApiV3/description.001.normalized.json b/codegen/JsonDescriptionOfGithubApiV3/description.normalized.json similarity index 100% rename from codegen/JsonDescriptionOfGithubApiV3/description.001.normalized.json rename to codegen/JsonDescriptionOfGithubApiV3/description.normalized.json diff --git a/codegen/JsonDescriptionOfGithubApiV3/normalize.py b/codegen/JsonDescriptionOfGithubApiV3/normalize.py index 71d34b3a..621648e9 100644 --- a/codegen/JsonDescriptionOfGithubApiV3/normalize.py +++ b/codegen/JsonDescriptionOfGithubApiV3/normalize.py @@ -367,7 +367,7 @@ class Description: with open( os.path.join( os.path.dirname( __file__ ), fileName ), "wb" ) as f: json.dump( self, f, indent = 4, cls = Encoder ) -with open( os.path.join( os.path.dirname( __file__ ), "description.000.human_readable.json" ) ) as f: +with open( os.path.join( os.path.dirname( __file__ ), "description.human_readable.json" ) ) as f: description = Description( json.load( f ) ) -description.save( "description.001.normalized.json" ) +description.save( "description.normalized.json" ) diff --git a/codegen/generate.py b/codegen/generate.py index 121f123b..e8ec132c 100644 --- a/codegen/generate.py +++ b/codegen/generate.py @@ -15,7 +15,7 @@ django.conf.settings.configure( TEMPLATE_STRING_IF_INVALID = "We have a logic error in our template or API description", ) -description = json.load( open( os.path.join( os.path.dirname( __file__ ), "JsonDescriptionOfGithubApiV3", "description.001.normalized.json" ) ) ) +description = json.load( open( os.path.join( os.path.dirname( __file__ ), "JsonDescriptionOfGithubApiV3", "description.normalized.json" ) ) ) for class_ in description[ "classes" ]: dependencies = set()