<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:14:37 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-278] API Explorer Model Schema Data Type &apos;Click to set as parameter value&apos; valid example values</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-278</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;As discussed in &lt;a href=&quot;https://jira.opendaylight.org/browse/NETCONF-215&quot; title=&quot;API Explorer Model Schema Data Type &amp;#39;Click to set as parameter value&amp;#39; is empty for YANG RPC POST to /operations/&quot; class=&quot;issue-link&quot; data-issue-key=&quot;NETCONF-215&quot;&gt;&lt;del&gt;NETCONF-215&lt;/del&gt;&lt;/a&gt; if it&apos;s technically possibly (with Swagger) it would be &quot;nice&quot; if the Model Schema under Data Type &apos;Click to set as parameter value&apos; would put in VALID example values; e.g. &quot;toasterDoneness&quot;: &quot;1&quot; instead of &quot;integer&quot;, etc.&lt;/p&gt;

&lt;p&gt;This would have to take into account various things such as data types, required/mandatory etc.  I would imagine that the logic for chosing and example value could be kept trivial - something like if it&apos;s numeric, then 0 or 1 or the first possible value (if if&apos;s a range), if it&apos;s an enum then just the first value, if it&apos;s a non-empty list then (recursively) a value for 1 list element, etc.&lt;/p&gt;

&lt;p&gt;This is an Enhancement, not a bug.  I don&apos;t know how feasible this is.  &lt;a href=&quot;https://jira.opendaylight.org/browse/NETCONF-215&quot; title=&quot;API Explorer Model Schema Data Type &amp;#39;Click to set as parameter value&amp;#39; is empty for YANG RPC POST to /operations/&quot; class=&quot;issue-link&quot; data-issue-key=&quot;NETCONF-215&quot;&gt;&lt;del&gt;NETCONF-215&lt;/del&gt;&lt;/a&gt; and &lt;a href=&quot;https://jira.opendaylight.org/browse/NETCONF-214&quot; title=&quot;API Explorer Model Schema Data Type &amp;#39;Click to set as parameter value&amp;#39; misses to put wrapping structure?&quot; class=&quot;issue-link&quot; data-issue-key=&quot;NETCONF-214&quot;&gt;&lt;del&gt;NETCONF-214&lt;/del&gt;&lt;/a&gt; are clearly higher prioritities, and this one is a nice to have (which would be cool) as a future follow-up after those are settled.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="21291">NETCONF-278</key>
            <summary>API Explorer Model Schema Data Type &apos;Click to set as parameter value&apos; valid example values</summary>
                <type id="10100" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10310&amp;avatarType=issuetype">Improvement</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>Fri, 16 Sep 2016 11:58:59 +0000</created>
                <updated>Fri, 15 Mar 2019 22:22:30 +0000</updated>
                            <resolved>Tue, 8 Nov 2016 08:56:35 +0000</resolved>
                                                                    <component>restconf-nb</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="39642" author="miroslav.kovac@pantheon.tech" created="Tue, 11 Oct 2016 14:34:19 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/46772/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/46772/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="21285">NETCONF-272</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="23082">YANGTOOLS-662</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>6731</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=6731]]></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|i01xjz:</customfieldvalue>

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