Skip to content

Commit

Permalink
Do not downcase filenames
Browse files Browse the repository at this point in the history
  • Loading branch information
zeusttu committed May 3, 2019
1 parent c34f8cb commit 11d254b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions openapi2jsonschema/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def default(
))

for title in components:
kind = title.split(".")[-1].lower()
kind = title.split(".")[-1]
if kubernetes:
group = title.split(".")[-3].lower()
api_version = title.split(".")[-2].lower()
Expand Down Expand Up @@ -198,8 +198,7 @@ def default(
if (
kubernetes
and stand_alone
and kind
in [
and kind.lower() in [
"jsonschemaprops",
"jsonschemapropsorarray",
"customresourcevalidation",
Expand Down

0 comments on commit 11d254b

Please sign in to comment.