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_1 extends _apidomCore.ObjectElement {
|
---|
8 | constructor(content, meta, attributes) {
|
---|
9 | super(content, meta, attributes);
|
---|
10 | this.element = 'openApi3_1';
|
---|
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 jsonSchemaDialect() {
|
---|
26 | return this.get('jsonSchemaDialect');
|
---|
27 | }
|
---|
28 | set jsonSchemaDialect(jsonSchemaDialect) {
|
---|
29 | this.set('jsonSchemaDialect', jsonSchemaDialect);
|
---|
30 | }
|
---|
31 | get servers() {
|
---|
32 | return this.get('servers');
|
---|
33 | }
|
---|
34 | set servers(servers) {
|
---|
35 | this.set('servers', servers);
|
---|
36 | }
|
---|
37 | get paths() {
|
---|
38 | return this.get('paths');
|
---|
39 | }
|
---|
40 | set paths(paths) {
|
---|
41 | this.set('paths', paths);
|
---|
42 | }
|
---|
43 | get components() {
|
---|
44 | return this.get('components');
|
---|
45 | }
|
---|
46 | set components(components) {
|
---|
47 | this.set('components', components);
|
---|
48 | }
|
---|
49 | get security() {
|
---|
50 | return this.get('security');
|
---|
51 | }
|
---|
52 | set security(security) {
|
---|
53 | this.set('security', security);
|
---|
54 | }
|
---|
55 | get tags() {
|
---|
56 | return this.get('tags');
|
---|
57 | }
|
---|
58 | set tags(tags) {
|
---|
59 | this.set('tags', tags);
|
---|
60 | }
|
---|
61 | get externalDocs() {
|
---|
62 | return this.get('externalDocs');
|
---|
63 | }
|
---|
64 | set externalDocs(externalDocs) {
|
---|
65 | this.set('externalDocs', externalDocs);
|
---|
66 | }
|
---|
67 | get webhooks() {
|
---|
68 | return this.get('webhooks');
|
---|
69 | }
|
---|
70 | set webhooks(webhooks) {
|
---|
71 | this.set('webhooks', webhooks);
|
---|
72 | }
|
---|
73 | }
|
---|
74 | var _default = exports.default = OpenApi3_1; |
---|