Skip to content

Commit

Permalink
fix: Use correct encoding when exporting Python models
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpovel committed Sep 20, 2022
1 parent 7d9f84b commit ab7ca67
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,14 @@ depgraph.svg:
resume.py:
${RUN} datamodel-codegen \
--url "https://github.com/jsonresume/resume-schema/master/schema.json" \
--encoding utf-8 \
--input-file-type jsonschema \
--output "$@"

github.py:
${RUN} datamodel-codegen \
--url "https://github.com/github/rest-api-description/main/descriptions-next/api.github.com/dereferenced/api.github.51.al.deref.json" \
--encoding utf-8 \
--input-file-type openapi \
--openapi-scopes paths \
--output "$@"

0 comments on commit ab7ca67

Please sign in to comment.