Bug 931, Bug 910 - Enhance Restconf Swagger Documentation
[controller.git] / opendaylight / md-sal / sal-rest-docgen / src / main / java / org / opendaylight / controller / sal / rest / doc / swagger / Resource.java
1 /*
2  * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.controller.sal.rest.doc.swagger;
9
10 /**
11  * Implementation of swagger spec (see <a href=
12  * "https://github.com/wordnik/swagger-spec/blob/master/versions/1.2.md#512-resource-object"
13  * > https://github.com/wordnik/swagger-spec/blob/master/versions/1.2.md#512-
14  * resource-object</a>)
15  */
16 public class Resource {
17     private String path;
18     private String description;
19
20     public String getPath() {
21         return path;
22     }
23
24     public void setPath(String path) {
25         this.path = path;
26     }
27
28     public String getDescription() {
29         return description;
30     }
31
32     public void setDescription(String description) {
33         this.description = description;
34     }
35 }