danielgtaylor / aglio

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

Make Schema Collapsed by Default #338

Open piti118 opened 7 years ago

piti118 commented 7 years ago

I think this gives a better ux since schema can be guessed from example and it tends to be way longer than the body itself. Having it displayed by default is a bit distracting.

245

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 58.211% when pulling 8e48db03f49f20cb2f4bc9b9c97a26e609ce8681 on piti118:patch-1 into c52a482e5392849de12ce1cf43245ad66da44745 on danielgtaylor:olio-theme.

w0k3 commented 5 years ago

@danielgtaylor will this ever get pulled? The patch looks fine.

bluenex commented 5 years ago

I have tested this and found that I can't expand the schema as the parent height is already fixed while schema height is still 0.

I still can't figure how to workaround this though.