<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:15:35 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-667] Unable to load SwaggerUI when read API from server fails</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-667</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;Hi,&lt;/p&gt;


&lt;p&gt;I am testing Neon SR1 with a ConfD server and I am facing some issues with the apidoc explorer.&lt;/p&gt;


&lt;p&gt;The resource is mounted correctly, but when I try to list the APIs I get an uncaught javascript exception and the operation list for each API is not displayed.&lt;br/&gt;
When inspecting the javascript console, it appears that the server returns a &quot;500 Request failed&quot; error for two of the APIs. All the other APIs are retrieved correctly and are visible in the raw response, but clicking on &quot;Show/Hide&quot;, &quot;List operations&quot; and &quot;Expand operations&quot; has no effect on any API.&lt;/p&gt;</description>
                <environment></environment>
        <key id="32590">NETCONF-667</key>
            <summary>Unable to load SwaggerUI when read API from server fails</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="10003">Cannot Reproduce</resolution>
                                        <assignee username="IaroslavK">Iaroslav Kholiavko</assignee>
                                    <reporter username="francesca.vezzosi">Francesca Vezzosi</reporter>
                        <labels>
                            <label>pt</label>
                    </labels>
                <created>Wed, 22 Apr 2020 13:05:14 +0000</created>
                <updated>Tue, 10 Nov 2020 07:58:46 +0000</updated>
                            <resolved>Tue, 10 Nov 2020 07:58:46 +0000</resolved>
                                    <version>Neon SR1</version>
                                                    <component>restconf-openapi</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="68736" author="JIRAUSER13135" created="Thu, 29 Oct 2020 12:09:45 +0000"  >&lt;p&gt;Hi, &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=francesca.vezzosi&quot; class=&quot;user-hover&quot; rel=&quot;francesca.vezzosi&quot;&gt;francesca.vezzosi&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.opendaylight.org/secure/attachment/15903/15903_image-2020-10-29-14-01-55-270.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;According to this, looks like it is expected behavior of apidoc explorer. As it tries&#160; to resolve version of `null` string. If need to resolve default version empty version should be passed.&lt;/p&gt;

&lt;p&gt;Also please check the model. Probably problem in incorrect version there. Or problem with YangTools. But I can not check it based on information in this ticket.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=rovarga&quot; class=&quot;user-hover&quot; rel=&quot;rovarga&quot;&gt;rovarga&lt;/a&gt;, probably we should improve code: &lt;br/&gt;
 if we pass invalid version behavior should be the same as we do not pass version at all. Please share you thoughts.&#160;&lt;/p&gt;</comment>
                            <comment id="68737" author="JIRAUSER12921" created="Thu, 29 Oct 2020 12:51:00 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=IaroslavK&quot; class=&quot;user-hover&quot; rel=&quot;IaroslavK&quot;&gt;IaroslavK&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;yes, I understand the exception thrown for that specific model. The issue is that even if just one model has no revision, nothing is shown for ANY other model.&lt;/p&gt;

&lt;p&gt;In my case, I have two models with no revision (thus throwing the exception), and several other ones with revision for which I would like to be able to visualize the APIs, but the javascript code fails on all of them.&lt;/p&gt;</comment>
                            <comment id="68751" author="JIRAUSER13135" created="Tue, 10 Nov 2020 07:57:24 +0000"  >&lt;p&gt;According to the code It will not reproduce on last releases (Aluminium and next). Could not reproduce on Magnesium (but potentially it is possible), as I could not create model with `null` revision. Probably it is problem in YangTools, but not enough information.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="15903" name="image-2020-10-29-14-01-55-270.png" size="39103" author="IaroslavK" created="Thu, 29 Oct 2020 12:01:49 +0000"/>
                            <attachment id="15632" name="javascript-console.png" size="131137" author="francesca.vezzosi" created="Wed, 22 Apr 2020 13:04:40 +0000"/>
                            <attachment id="15633" name="karaf-error.log" size="13409" author="francesca.vezzosi" created="Wed, 22 Apr 2020 12:53:48 +0000"/>
                    </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|i03s1b:</customfieldvalue>

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