Skip to content
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

@byu-oit/openapi.contact

Introduction

Contact information for the exposed API.

For details about this OpenAPI specification definition, please see: https://spec.openapis.org/oas/latest.html#contact-object

Usage

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'
 * }
 */

Details


Assets

  • openapi.contact-0.0.1.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0