Skip to content

Commit

Permalink
Merge pull request #35 from qstream/fix-Date-not-JSON-serializable
Browse files Browse the repository at this point in the history
fix: date not json serializable
  • Loading branch information
maticardenas committed May 4, 2024
2 parents a414114 + c1faf25 commit 750743b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openapi_tester/schema_tester.py
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ def test_openapi_object(
"\n\nReference:"
f"\n\n{test_config.reference} > {key}"
f"\n\n{test_config.http_message.capitalize()} body:\n {json.dumps(data, indent=4)}"
f"\n\nSchema section:\n {json.dumps(properties, indent=4)}"
f"\n\nSchema section:\n {json.dumps(properties, indent=4, default=str)}"
"\n\nHint: Remove the key from your API"
f" {test_config.http_message}, or include it in your OpenAPI docs"
)
Expand Down

0 comments on commit 750743b

Please sign in to comment.