2 * Copyright (c) 2018 Inocybe Technologies and others. All rights reserved.
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
8 package org.opendaylight.netconf.sal.rest.doc.impl;
10 import java.util.Optional;
11 import org.opendaylight.mdsal.dom.api.DOMSchemaService;
14 * This class gathers all YANG-defined {@link org.opendaylight.yangtools.yang.model.api.Module}s and
15 * generates Swagger compliant documentation for the RFC 8040 version.
17 * @author Thomas Pantelis
19 public class ApiDocGeneratorRFC8040 extends BaseYangSwaggerGeneratorRFC8040 {
20 public ApiDocGeneratorRFC8040(final DOMSchemaService schemaService) {
21 super(Optional.of(schemaService));
24 public ApiDocGeneratorRFC8040(final DOMSchemaService schemaService, final String basePath) {
25 super(Optional.of(schemaService), basePath);