Refresh IETF client/server models
[netconf.git] / protocol / restconf-server / src / main / java / org / opendaylight / restconf / server / impl / IetfRestconfServerFeatureProvider.java
1 /*
2  * Copyright (c) 2024 PANTHEON.tech, s.r.o. 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.server.impl;
9
10 import java.util.Set;
11 import org.eclipse.jdt.annotation.NonNullByDefault;
12 import org.kohsuke.MetaInfServices;
13 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.restconf.server.rev240208.IetfRestconfServerData;
14 import org.opendaylight.yangtools.yang.binding.YangFeature;
15 import org.opendaylight.yangtools.yang.binding.YangFeatureProvider;
16
17 /**
18  * Baseline features supported from {@code ietf-restconf-client.yang}.
19  */
20 @MetaInfServices
21 @NonNullByDefault
22 public final class IetfRestconfServerFeatureProvider implements YangFeatureProvider<IetfRestconfServerData> {
23     @Override
24     public Class<IetfRestconfServerData> boundModule() {
25         return IetfRestconfServerData.class;
26     }
27
28     @Override
29     public Set<? extends YangFeature<?, IetfRestconfServerData>> supportedFeatures() {
30         // FIXME: support some features
31         return Set.of();
32     }
33 }