foundeo / cfdocs

Repository for the cfdocs.org site.
https://cfdocs.org/
Other
180 stars 341 forks source link

Added memberReturns key (structAppend) #1587

Closed Daemach closed 1 year ago

Daemach commented 1 year ago

Member functions can return different values.

KamasamaK commented 1 year ago

memberReturns is not the proper key for CF Docs. If you check out the JSON Schema, you'll see that member_details is what should be used for this.

KamasamaK commented 1 year ago

For member_details, the name and type are also required, which is why it is failing JSON validation. In this case, name would be append and type would be struct.

pfreitag commented 1 year ago

Thanks!