blob: 703feb2af660eb57c6cfd90129d1e655ee0eb80e [file] [log] [blame]
Brian O'Connore8468b52016-07-25 13:42:36 -07001/*
2 * Auto-generated by OnosSwaggerMojo.
3 *
Brian O'Connora09fe5b2017-08-03 21:12:30 -07004 * Copyright 2016-present Open Networking Foundation
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}