Update constructors, remove Optional, add non-null
[netconf.git] / restconf / restconf-openapi / src / main / java / org / opendaylight / restconf / openapi / impl / OpenApiGeneratorRFC8040.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.restconf.openapi.impl;
9
10 import org.eclipse.jdt.annotation.NonNull;
11 import org.opendaylight.mdsal.dom.api.DOMSchemaService;
12
13 /**
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.
16  *
17  * @author Thomas Pantelis
18  */
19 public class OpenApiGeneratorRFC8040 extends BaseYangOpenApiGeneratorRFC8040 {
20     public OpenApiGeneratorRFC8040(final @NonNull DOMSchemaService schemaService) {
21         super(schemaService);
22     }
23
24     public OpenApiGeneratorRFC8040(final @NonNull DOMSchemaService schemaService, final @NonNull String basePath) {
25         super(schemaService, basePath);
26     }
27 }