Skip to content

Commit

Permalink
#226: Add temporary bat script.
Browse files Browse the repository at this point in the history
  • Loading branch information
priscavdsluis committed Sep 27, 2022
1 parent 07354c6 commit 96696de
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions hydrolib/core/io/rtc/generate_models.bat
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ pause
EXIT /B

:CONVERT
SET file_to_convert=%~1
datamodel-codegen --input %file_to_convert%\generated\%file_to_convert%.json --input-file-type jsonschema --output %file_to_convert% --field-constraints --use-subclass-enum --use-schema-description --base-class hydrolib.core.io.rtc.basemodel.RtcBaseModel
SET file=%~1
SET folder=%rtc_file%\generated
datamodel-codegen --input %folder%\%file%.json --input-file-type jsonschema --output %file% --field-constraints --use-subclass-enum --use-schema-description --base-class hydrolib.core.io.rtc.basemodel.RtcBaseModel

EXIT /B

0 comments on commit 96696de

Please sign in to comment.