tomcollins / json-schema-static-docs

Quickly generate human friendly documentation from your JSON schema
https://tomcollins.github.io/json-schema-static-docs/
GNU General Public License v3.0
21 stars 7 forks source link

Support official .yaml extension for YAML files #100

Closed vcschapp closed 1 year ago

vcschapp commented 1 year ago

Description

This trivial change enables support for the .yaml file extension, which is the official file extension for YAML per the YAML FAQ.

Testing

No new tests added, but existing ones pass:

$ npm test
...
Test Suites: 9 passed, 9 total
Tests:       44 passed, 44 total
Snapshots:   0 total
Time:        1.604 s, estimated 2 s
Ran all test suites.
tomcollins commented 1 year ago

I make the renderer change in https://github.com/tomcollins/json-schema-static-docs/pull/101

vcschapp commented 1 year ago

Thanks @tomcollins !