[d24f17c] | 1 | "use strict";
|
---|
| 2 |
|
---|
| 3 | exports.__esModule = true;
|
---|
| 4 | exports.default = void 0;
|
---|
| 5 | var _apidomCore = require("@swagger-api/apidom-core");
|
---|
| 6 | // eslint-disable-next-line @typescript-eslint/naming-convention
|
---|
| 7 | class OpenApi3_0 extends _apidomCore.ObjectElement {
|
---|
| 8 | constructor(content, meta, attributes) {
|
---|
| 9 | super(content, meta, attributes);
|
---|
| 10 | this.element = 'openApi3_0';
|
---|
| 11 | this.classes.push('api');
|
---|
| 12 | }
|
---|
| 13 | get openapi() {
|
---|
| 14 | return this.get('openapi');
|
---|
| 15 | }
|
---|
| 16 | set openapi(openapi) {
|
---|
| 17 | this.set('openapi', openapi);
|
---|
| 18 | }
|
---|
| 19 | get info() {
|
---|
| 20 | return this.get('info');
|
---|
| 21 | }
|
---|
| 22 | set info(info) {
|
---|
| 23 | this.set('info', info);
|
---|
| 24 | }
|
---|
| 25 | get servers() {
|
---|
| 26 | return this.get('servers');
|
---|
| 27 | }
|
---|
| 28 | set servers(servers) {
|
---|
| 29 | this.set('servers', servers);
|
---|
| 30 | }
|
---|
| 31 | get paths() {
|
---|
| 32 | return this.get('paths');
|
---|
| 33 | }
|
---|
| 34 | set paths(paths) {
|
---|
| 35 | this.set('paths', paths);
|
---|
| 36 | }
|
---|
| 37 | get components() {
|
---|
| 38 | return this.get('components');
|
---|
| 39 | }
|
---|
| 40 | set components(components) {
|
---|
| 41 | this.set('components', components);
|
---|
| 42 | }
|
---|
| 43 | get security() {
|
---|
| 44 | return this.get('security');
|
---|
| 45 | }
|
---|
| 46 | set security(security) {
|
---|
| 47 | this.set('security', security);
|
---|
| 48 | }
|
---|
| 49 | get tags() {
|
---|
| 50 | return this.get('tags');
|
---|
| 51 | }
|
---|
| 52 | set tags(tags) {
|
---|
| 53 | this.set('tags', tags);
|
---|
| 54 | }
|
---|
| 55 | get externalDocs() {
|
---|
| 56 | return this.get('externalDocs');
|
---|
| 57 | }
|
---|
| 58 | set externalDocs(externalDocs) {
|
---|
| 59 | this.set('externalDocs', externalDocs);
|
---|
| 60 | }
|
---|
| 61 | }
|
---|
| 62 | var _default = exports.default = OpenApi3_0; |
---|