Skip to content

Commit

Permalink
Add TODO for gen-json-schema
Browse files Browse the repository at this point in the history
  • Loading branch information
nabla-c0d3 committed Sep 24, 2023
1 parent 809e6d1 commit 8ccd0e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ def build_exe(ctx: Context) -> None:
def gen_json_schema(ctx: Context) -> None:
from sslyze.json.json_output import SslyzeOutputAsJson

# TODO(#617): Currently broken; switch to model_dump_json()
json_schema = SslyzeOutputAsJson.schema_json(indent=2)
json_schema_file = Path(__file__).parent / "json_output_schema.json"
json_schema_file.write_text(json_schema)

0 comments on commit 8ccd0e3

Please sign in to comment.