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