<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:14:27 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-215] API Explorer Model Schema Data Type &apos;Click to set as parameter value&apos; is empty for YANG RPC POST to /operations/</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-215</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;For a YANG RPC like netconf POST to /operations/toaster:make-toast, that Data Type Model Schema for input is { } even though it should be something like  {&quot;input&quot; : &lt;/p&gt;
{ &quot;toaster:toasterDoneness&quot; : &quot;10&quot;, &quot;toaster:toasterToastType&quot;:&quot;wheat-bread&quot; }
&lt;p&gt; } it seems some mapping into Swagger&apos;s JSON isn&apos;t generated quite right there.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="21228">NETCONF-215</key>
            <summary>API Explorer Model Schema Data Type &apos;Click to set as parameter value&apos; is empty for YANG RPC POST to /operations/</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <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="miroslav.kovac@pantheon.tech">Miroslav Kovac</assignee>
                                    <reporter username="vorburger">Michael Vorburger</reporter>
                        <labels>
                    </labels>
                <created>Thu, 2 Jun 2016 16:41:23 +0000</created>
                <updated>Fri, 15 Mar 2019 22:22:25 +0000</updated>
                            <resolved>Thu, 22 Sep 2016 12:00:28 +0000</resolved>
                                                                    <component>restconf-nb</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="39452" author="miroslav.kovac@pantheon.tech" created="Wed, 14 Sep 2016 13:13:55 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/45580/2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/45580/2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="39453" author="vorburger" created="Thu, 15 Sep 2016 14:08:08 +0000"  >&lt;p&gt;I&apos;ve just attempted to manually test c/45580/2, and seen that instead of the original:&lt;/p&gt;

&lt;p&gt;{ } &lt;/p&gt;

&lt;p&gt;it&apos;s now a bit better, but still not really working out-of-the-box:&lt;/p&gt;

&lt;p&gt;{&lt;br/&gt;
  &quot;toasterDoneness&quot;: &quot;integer&quot;,&lt;br/&gt;
  &quot;toasterToastType&quot;: {}&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;This is still wrong, as from what little I understand it should rather be something like:&lt;/p&gt;

&lt;p&gt;{&lt;br/&gt;
  &quot;input&quot; : &lt;/p&gt;
{
    &quot;toasterDoneness&quot; : &quot;1&quot;,
    &quot;toasterToastType&quot;: &quot;wheat-bread&quot;
  }
&lt;p&gt;}&lt;/p&gt;

&lt;p&gt;Note the main diff is the missing &quot;input&quot; kind of wrap around it.  (Putting valid example values, like &quot;1&quot; instead of &quot;integer&quot; and &quot;wheat-bread&quot; instead of {} would be cool too I guess, but I can open a separate issue about that, if you prefer.)&lt;/p&gt;

&lt;p&gt;PS: The c/45580 also doesn&apos;t include any non-regression test (but that&apos;s not really my call).&lt;/p&gt;</comment>
                            <comment id="39454" author="miroslav.kovac@pantheon.tech" created="Fri, 16 Sep 2016 07:17:10 +0000"  >&lt;p&gt;(In reply to Michael Vorburger from comment #2)&lt;br/&gt;
&amp;gt; I&apos;ve just attempted to manually test c/45580/2, and seen that instead of the&lt;br/&gt;
&amp;gt; original:&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; { } &lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; it&apos;s now a bit better, but still not really working out-of-the-box:&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; {&lt;br/&gt;
&amp;gt;   &quot;toasterDoneness&quot;: &quot;integer&quot;,&lt;br/&gt;
&amp;gt;   &quot;toasterToastType&quot;: {}&lt;br/&gt;
&amp;gt; }&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; This is still wrong, as from what little I understand it should rather be&lt;br/&gt;
&amp;gt; something like:&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; {&lt;br/&gt;
&amp;gt;   &quot;input&quot; : &lt;/p&gt;
{
&amp;gt;     &quot;toasterDoneness&quot; : &quot;1&quot;,
&amp;gt;     &quot;toasterToastType&quot;: &quot;wheat-bread&quot;
&amp;gt;   }
&lt;p&gt;&amp;gt; }&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; Note the main diff is the missing &quot;input&quot; kind of wrap around it.  (Putting&lt;br/&gt;
&amp;gt; valid example values, like &quot;1&quot; instead of &quot;integer&quot; and &quot;wheat-bread&quot;&lt;br/&gt;
&amp;gt; instead of {} would be cool too I guess, but I can open a separate issue&lt;br/&gt;
&amp;gt; about that, if you prefer.)&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; PS: The c/45580 also doesn&apos;t include any non-regression test (but that&apos;s not&lt;br/&gt;
&amp;gt; really my call).&lt;/p&gt;

&lt;p&gt;Thank you for reply&lt;br/&gt;
Yes I know about that but this is opened as bug -&amp;gt; &lt;a href=&quot;https://bugs.opendaylight.org/show_bug.cgi?id=5997&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://bugs.opendaylight.org/show_bug.cgi?id=5997&lt;/a&gt;&lt;br/&gt;
I fixed it so it would do the same thing as with config requests. Whenever the other bug will be fixed it should resolve this too. And I am currently working on that. If you want me to fix it in this bug i can do that too. But since there is opened bug for that I thought it would be better to do it there because the resolution will most likely be the same. &lt;/p&gt;

&lt;p&gt;As for putting valid example values, separate issue would be better, cause it doesn`t have much to do with this and it should also be in config requests. And that would be an improvement I guess and not a bug.&lt;/p&gt;</comment>
                            <comment id="39455" author="vorburger" created="Fri, 16 Sep 2016 11:59:42 +0000"  >&lt;p&gt;&amp;gt; for putting valid example values, separate issue would be better&lt;/p&gt;

&lt;p&gt;=&amp;gt; &lt;a href=&quot;https://jira.opendaylight.org/browse/NETCONF-278&quot; title=&quot;API Explorer Model Schema Data Type &amp;#39;Click to set as parameter value&amp;#39; valid example values&quot; class=&quot;issue-link&quot; data-issue-key=&quot;NETCONF-278&quot;&gt;&lt;del&gt;NETCONF-278&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="21227">NETCONF-214</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <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_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5998</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=5998]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Bug]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10321"><![CDATA[Carbon]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i01x5z:</customfieldvalue>

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