Gitlab Community Edition Instance

Skip to content
Snippets Groups Projects
Commit 99e85095 authored by Mathias Goebel's avatar Mathias Goebel
Browse files

Merge branch 'hotfix/1.5.1'

parents 7b32105c 6eae682e
No related branches found
Tags v1.5.1
No related merge requests found
Pipeline #168702 passed
project.name=https://lab.sub.uni-goettingen.de/openapi4restxq-develop
project.version=1.5.0
project.version=1.5.1
project.title=OpenAPI for RESTXQ
project.abbrev=openapi-develop
project.processorversion=4.6.1
......
......@@ -407,6 +407,6 @@ as xs:string?{
: @param $name The name of the argument to prepare an example for :)
declare %private function openapi:example($function as element(function), $name as xs:string)
as map(*)* {
string($function/annotation[@name = "test:arg"][value[1] eq $name]/value[2])
string(($function/annotation[@name = "test:arg"][value[1] eq $name])[1]/value[2])
! map{ "example": .}
};
......@@ -8,6 +8,15 @@
<type>application</type>
<target>openapi</target>
<changelog>
<change version="1.5.1">
<ul xmlns="http://www.w3.org/1999/xhtml">
<li class="bugs">Bugfixes
<ul style="margin-left: 15px;">
<li>bugfix for string() call with multiple test annotations</li>
</ul>
</li>
</ul>
</change>
<change version="1.5.0">
<ul xmlns="http://www.w3.org/1999/xhtml">
<li class="feat">Features
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment