danielgtaylor / aglio

An API Blueprint renderer with theme support that outputs static HTML
4.75k stars 480 forks source link

Default to null for nullable values in objects #304

Open voldern opened 7 years ago

voldern commented 7 years ago

If a object property is nullable and has no default value set, we should default to null instead of the list of internal default values.

See https://github.com/apiaryio/drafter/issues/420#issuecomment-255084205

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-0.3%) to 57.929% when pulling bb3ab0c8848ac7eb0d8f4e308632f8dd56b6ebe1 on voldern:olio-theme into c52a482e5392849de12ce1cf43245ad66da44745 on danielgtaylor:olio-theme.