Merge "Bug 809: Enhancements to the toaster example"
[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
12  * (see <a href="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-resource-object</a>)
14  */
15 public class Resource {
16   private String path;
17   private String description;
18
19   public String getPath() {
20     return path;
21   }
22
23   public void setPath(String path) {
24     this.path = path;
25   }
26
27   public String getDescription() {
28     return description;
29   }
30
31   public void setDescription(String description) {
32     this.description = description;
33   }
34 }