Skip to content

Latest commit

 

History

History
95 lines (73 loc) · 3.91 KB

CONTRIBUTING.md

File metadata and controls

95 lines (73 loc) · 3.91 KB

Contributing

Thank you for contributing. Contributions are always welcome, no matter how large or small.

Table of Contents


Guidelines

As a contributor, here are the guidelines we would like you to follow:

We also recommend to read How to Contribute to Open Source.


Pull Requests

Thank you for contributing.


Clone the Repository

git clone https://github.com/tandfgroup/schema-oas.git schema-oas && cd schema-oas

Install Dependencies

# Using NPM:
npm install

File Structure

schema-oas/
 ├─ spec/                      * directory containing all OpenAPI spec files
 │   ├─ endpoints/             * directory containing endpoint-based specs
 │   │   ├─ <endpoint>/        * <endpoint> directory
 │   │   :   ├─ paths.yml      * <endpoint> path specs
 │   │       :
 │   │
 │   ├─ schema/                * directory containing schema objects
 │   │   ├─ <schema>.yml       * <schema> object
 │   │   :
 │   │
 │   ├─ api.yml                * OpenAPI Specification
 │   ├─ components.yml         * OpenAPI Components object
 │   ├─ info.yml               * OpenAPI Info object
 │   ├─ paths.yml              * Paths - auto-generated compile of all path specs
 │   └─ schema.yml             * Schema - auto-generated compile of all schema objects
 │
 ├─ tests/                     * files related to testing
 │   ├─ filename.ext           * TBD
 │   :
 │
 ├─ commitlint.config.js       * commitlint config
 ├─ package-lock.json          * npm dependency lock file
 └─ package.json               * npm package config

Happy coding!