Semoasa (Specification Extension Metadata for OAS Annotations) is a machine-readable format for extensions to Swagger/OpenAPI 2.0 and 3.0 specifications.
api
- the top-level Semoasa documentheader
- the front-matter of the Slate/Shins markdown documentoptions
- the options passed to the renderer, includes defaultstemplates
- the doT templates objectwiddershins
- the contents of widdershinspackage.json
oas2_descs
- a map of OASv2 objects and descriptionsoas3_descs
- a map of OASv3 objects and descriptionsutils
- an object containing utility functionsyaml
-yaml
instanceschemaToArray
- converts a schema object to a flat list of propertiesgetSample
- returns an example based on a schema objectlinkCase
- helper function which returns camelCased object names