blob: 69c141a6a19a537e548d40a98ba1d5f8171ba461 [file] [log] [blame]
Brian O'Connore8468b52016-07-25 13:42:36 -07001/*
2 * Auto-generated by OnosSwaggerMojo.
3 *
Brian O'Connor0a4e6742016-09-15 23:03:10 -07004 * Copyright 2016-present Open Networking Laboratory
Brian O'Connore8468b52016-07-25 13:42:36 -07005 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18package ${api.package};
19
20import org.apache.felix.scr.annotations.Component;
21import org.onosproject.rest.AbstractApiDocRegistrator;
22import org.onosproject.rest.ApiDocProvider;
23
24@Component(immediate = true)
25public class ApiDocRegistrator extends AbstractApiDocRegistrator {
26 public ApiDocRegistrator() {
27 super(new ApiDocProvider("${web.context}",
28 "${api.title}",
29 ApiDocRegistrator.class.getClassLoader()));
30 }
31}