2 * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
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
8 package org.opendaylight.controller.sal.rest.doc.swagger;
10 import java.util.List;
13 * Implementation of swagger spec
14 * (see <a href="https://github.com/wordnik/swagger-spec/blob/master/versions/1.2.md#51-resource-listing">
15 * https://github.com/wordnik/swagger-spec/blob/master/versions/1.2.md#51-resource-listing</a>)
17 public class ResourceList {
18 private String apiVersion;
19 private String swaggerVersion;
20 private List<Resource> apis;
22 public String getApiVersion() {
26 public void setApiVersion(String apiVersion) {
27 this.apiVersion = apiVersion;
30 public String getSwaggerVersion() {
31 return swaggerVersion;
34 public void setSwaggerVersion(String swaggerVersion) {
35 this.swaggerVersion = swaggerVersion;
38 public List<Resource> getApis() {
42 public void setApis(List<Resource> apis) {