Skip to content

Commit 0ea9d9a

Browse files
Added current and vnext to swagger docs.
1 parent e0c0dad commit 0ea9d9a

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

sdk/_config.version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version: 0.0.1-20250703.100841+c9f3336
1+
version: 0.0.1-20250703.102657+e0c0dad

sdk/swagger-initializer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ window.onload = function() {
33

44
// the following lines will be replaced by docker/configurator, when it runs in a docker-container
55
window.ui = SwaggerUIBundle({
6-
url: "swagger.json",
6+
urls: [{url:"swagger.json", name: "current"},{url:"swagger-vnext.json", name: "vNext"}],
77
dom_id: '#swagger-ui',
88
deepLinking: true,
99
presets: [

sdk/swagger-static.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ mv swagger/swagger-ui-$VERSION/dist/* swagger
1010
rm -r swagger/swagger-ui-$VERSION
1111
cp swagger-initializer.js swagger/swagger-initializer.js
1212
cp ../specification/api/notify-supplier.yml swagger/swagger.json
13+
cp ../specification/api/notify-supplier-next.yml swagger/swagger-vnext.json
1314
rm swagger.zip

0 commit comments

Comments
 (0)