UNPKG

@swagger-api/apidom-ns-openapi-3-1

Version:

OpenAPI 3.1.x namespace for ApiDOM.

25 lines (24 loc) 552 B
import { ReferenceElement } from '@swagger-api/apidom-ns-openapi-3-0'; /** * @public */ class Reference extends ReferenceElement {} Object.defineProperty(Reference.prototype, 'description', { get() { return this.get('description'); }, set(description) { this.set('description', description); }, enumerable: true }); Object.defineProperty(Reference.prototype, 'summary', { get() { return this.get('summary'); }, set(description) { this.set('summary', description); }, enumerable: true }); export default Reference;