restdocs-api-spec icon indicating copy to clipboard operation
restdocs-api-spec copied to clipboard

fix: FieldDescriptor.description to nullable

Open seokjun7410 opened this issue 1 year ago • 1 comments

Found and fixed an issue where openapi3 task would fail if no description was provided. https://github.com/ePages-de/restdocs-api-spec/issues/121

I think this is a problem for all tasks, not just the openapi3 task. So I changed the description field in the model to nullable.

If you're having trouble with this change, I'd appreciate direction.

seokjun7410 avatar Mar 14 '24 14:03 seokjun7410

i don't understand. do you really need nullable? If you don't want to define it, you can use .ignored(). nullable is a problem that can increase readability and complexity if not absolutely necessary.

xeromank avatar Aug 23 '24 02:08 xeromank