2 * Copyright (c) 2014 Cisco Systems, Inc. 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.Objects;
11 import java.util.Optional;
12 import org.opendaylight.mdsal.dom.api.DOMSchemaService;
15 * This class gathers all YANG-defined {@link org.opendaylight.yangtools.yang.model.api.Module}s and
16 * generates Swagger compliant documentation for the bierman draft02 version.
18 public class ApiDocGeneratorDraftO2 extends BaseYangSwaggerGeneratorDraft02 {
20 public ApiDocGeneratorDraftO2(final DOMSchemaService schemaService) {
21 super(Optional.of(Objects.requireNonNull(schemaService)));
24 public ApiDocGeneratorDraftO2(final DOMSchemaService schemaService, final String basePath) {
25 super(Optional.of(Objects.requireNonNull(schemaService)), basePath);