This repository has been archived by the owner on Apr 1, 2024. It is now read-only.
openapi.contact 0.0.1
Install from the command line:
Learn more about npm packages
$ npm install @byu-oit/openapi.contact@0.0.1
Install via package.json:
"@byu-oit/openapi.contact": "0.0.1"
About this version
Contact information for the exposed API.
For details about this OpenAPI specification definition, please see: https://spec.openapis.org/oas/latest.html#contact-object
import { Contact } from '@byu-oit/openapi.contact'
const contact = new Contact()
.$name('Cosmo Cougar')
.$url('https://byu.edu')
.$email('[email protected]')
const data = contact.json()
/**
* `data` should look like this:
* {
* name: 'Cosmo Cougar',
* url: 'https://byu.edu',
* email: 'cosmo@byu.edu'
* }
*/