Skip to content

Allow generating empty arrays#1

Open
Miskler wants to merge 1 commit into
mainfrom
codex/fix-logic-to-generate-empty-arrays
Open

Allow generating empty arrays#1
Miskler wants to merge 1 commit into
mainfrom
codex/fix-logic-to-generate-empty-arrays

Conversation

@Miskler

@Miskler Miskler commented Aug 27, 2025

Copy link
Copy Markdown
Owner

Summary

  • Support array schemas without an items section by defaulting to generic primitive items
  • Ensure parser treats arrays without items as arrays, enabling empty list generation

Testing

  • pytest jsf/tests/test_gen_empty_list_temp.py -q
  • pytest jsf/tests/test_default_fake.py -q

https://chatgpt.com/codex/tasks/task_e_68ae5978a71c832f95b8786f2a76bbad

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant