Convert apidocs to new web API
[netconf.git] / restconf / sal-rest-docgen / src / main / java / org / opendaylight / netconf / sal / rest / doc / impl / ApiDocGeneratorRFC8040.java
1 /*
2  * Copyright (c) 2018 Inocybe Technologies and others.  All rights reserved.
3  *
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
7  */
8 package org.opendaylight.netconf.sal.rest.doc.impl;
9
10 import java.util.Objects;
11 import java.util.Optional;
12 import org.opendaylight.controller.sal.core.api.model.SchemaService;
13
14 /**
15  * This class gathers all YANG-defined {@link org.opendaylight.yangtools.yang.model.api.Module}s and
16  * generates Swagger compliant documentation for the RFC 8040 version.
17  *
18  * @author Thomas Pantelis
19  */
20 public class ApiDocGeneratorRFC8040 extends BaseYangSwaggerGeneratorRFC8040 {
21
22     public ApiDocGeneratorRFC8040(SchemaService schemaService) {
23         super(Optional.of(Objects.requireNonNull(schemaService)));
24     }
25 }