File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ def build():
130
130
logger .info (f"Loaded config: { config !r} " )
131
131
132
132
logger .info ("Start getting OpenAPI source..." )
133
- source = get_source (httpx .URL (config .rest_descrition_source ))
133
+ source = get_source (httpx .URL (config .rest_description_source ))
134
134
logger .info (f"Getting schema from { source .uri } succeeded!" )
135
135
136
136
logger .info ("Start parsing OpenAPI spec..." )
Original file line number Diff line number Diff line change 5
5
6
6
7
7
class Config (BaseModel ):
8
- rest_descrition_source : str
8
+ rest_description_source : str
9
9
webhook_schema_source : str
10
10
class_overrides : Dict [str , str ] = {}
11
11
field_overrides : Dict [str , str ] = {}
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ reportPrivateImportUsage = false
57
57
reportShadowedImports = false
58
58
59
59
[tool .codegen ]
60
- rest-descrition -source = " https://raw.githubusercontent.com/github/rest-api-description/main/descriptions-next/api.github.com/api.github.com.json"
60
+ rest-description -source = " https://raw.githubusercontent.com/github/rest-api-description/main/descriptions-next/api.github.com/api.github.com.json"
61
61
webhook-schema-source = " https://unpkg.com/@octokit/webhooks-schemas/schema.json"
62
62
client-output = " githubkit/rest/"
63
63
webhooks-output = " githubkit/webhooks/models.py"
You can’t perform that action at this time.
0 commit comments