blob: 016bb1a234962691c1b7bdb58e42e6945c67895d [file] [log] [blame]
Brian O'Connore8468b52016-07-25 13:42:36 -07001/*
2 * Auto-generated by OnosSwaggerMojo.
3 *
4 * Copyright 2015-present Open Networking Laboratory
5 *
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}