<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:16:34 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[NETCONF-1060] OpenApi: Broken parameters logic</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-1060</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;We have the following YANG model:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;module keys-mapping {
  namespace &quot;mapping&quot;;
  prefix keys-mappin;

  revision &quot;2023-06-19&quot; {
    description
      &quot;Sample app&quot;;
  }

  list multiple-key-list {
    key &quot;name name2&quot;;
    leaf name {
      type string;
    }
    leaf name2 {
      type string;
    }
    list multiple-key-list2 {
      key &quot;name name3&quot;;
      leaf name {
        type string;
      }
      leaf name3 {
        type string;
      }
      list multiple-key-list3 {
        key &quot;name3 name&quot;;
        leaf name3 {
          type string;
        }
        leaf name {
          type string;
        }
        list multiple-key-list4 {
          key name;
          leaf name {
            type string;
          }
        }
      }
    }
  }
}&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;In OpenApi docs we are getting URLs as follows:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;/rests/data/network-topology:network-topology/topology=topology-netconf/node=17830-sim-device/yang-ext:mount/keys-mapping:multiple-key-list={name},{name2}/multiple-key-list2={name1},{name3}/multiple-key-list3={name31},{name4}/multiple-key-list4={name2}&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;It means we have two times parameter called &lt;b&gt;name2&lt;/b&gt;. This OpenAPi model is invalid. We have to change our logic to preserve discriminator value when going deeper into lists structure.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="37014">NETCONF-1060</key>
            <summary>OpenApi: Broken parameters logic</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="yaroslav.lastivka">Yaroslav Lastivka</assignee>
                                    <reporter username="ivanhrasko">Ivan Hrasko</reporter>
                        <labels>
                            <label>pt</label>
                            <label>regression</label>
                    </labels>
                <created>Mon, 19 Jun 2023 11:07:30 +0000</created>
                <updated>Fri, 14 Jul 2023 11:25:04 +0000</updated>
                            <resolved>Fri, 14 Jul 2023 11:25:04 +0000</resolved>
                                    <version>6.0.0</version>
                                    <fixVersion>7.0.0</fixVersion>
                    <fixVersion>6.0.1</fixVersion>
                                    <component>restconf-openapi</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="72306" author="ivanhrasko" created="Mon, 19 Jun 2023 13:43:35 +0000"  >&lt;p&gt;Expected path is:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;/rests/data/network-topology:network-topology/topology=topology-netconf/node=17830-sim-device/yang-ext:mount/keys-mapping:multiple-key-list={name},{name2}/multiple-key-list2={name1},{name3}/multiple-key-list3={name31},{name4}/multiple-key-list4={name5}&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="72307" author="ivanhrasko" created="Mon, 19 Jun 2023 13:44:41 +0000"  >&lt;p&gt;The logic has been broken in &lt;a href=&quot;https://jira.opendaylight.org/browse/NETCONF-1047&quot; title=&quot;OpenApi: Eliminate createUniquePathParamName method&quot; class=&quot;issue-link&quot; data-issue-key=&quot;NETCONF-1047&quot;&gt;&lt;del&gt;NETCONF-1047&lt;/del&gt;&lt;/a&gt;. We do not want to make revert. Instead, fix current logic and add unit tests.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i045i7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>