source: node_modules/@swagger-api/apidom-ns-openapi-3-1/cjs/elements/PathItem.cjs

main
Last change on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 1.1 KB
RevLine 
[d24f17c]1"use strict";
2
3exports.__esModule = true;
4exports.default = void 0;
5var _apidomNsOpenapi = require("@swagger-api/apidom-ns-openapi-3-0");
6class PathItem extends _apidomNsOpenapi.PathItemElement {
7 get GET() {
8 return this.get('get');
9 }
10 set GET(operation) {
11 this.set('GET', operation);
12 }
13 get PUT() {
14 return this.get('put');
15 }
16 set PUT(operation) {
17 this.set('PUT', operation);
18 }
19 get POST() {
20 return this.get('post');
21 }
22 set POST(operation) {
23 this.set('POST', operation);
24 }
25 get DELETE() {
26 return this.get('delete');
27 }
28 set DELETE(operation) {
29 this.set('DELETE', operation);
30 }
31 get OPTIONS() {
32 return this.get('options');
33 }
34 set OPTIONS(operation) {
35 this.set('OPTIONS', operation);
36 }
37 get HEAD() {
38 return this.get('head');
39 }
40 set HEAD(operation) {
41 this.set('HEAD', operation);
42 }
43 get PATCH() {
44 return this.get('patch');
45 }
46 set PATCH(operation) {
47 this.set('PATCH', operation);
48 }
49 get TRACE() {
50 return this.get('trace');
51 }
52 set TRACE(operation) {
53 this.set('TRACE', operation);
54 }
55}
56var _default = exports.default = PathItem;
Note: See TracBrowser for help on using the repository browser.