ajevans99 / swift-json-schema

Generate JSON Schema documents from Swift
MIT License
13 stars 5 forks source link

Read `description` from the comments #48

Open MahdiBM opened 4 hours ago

MahdiBM commented 4 hours ago

I'm assuming this isn't the case since I found no docs or no clues about it in the code, but optimally the macro should use the documentation comments for the description of a field, when possible, without needing to use a macro like SchemaOptions.

ajevans99 commented 3 hours ago

I agree. That's a great idea