From bfa42f7911c266a9df97a3e06d71a06729f0b441 Mon Sep 17 00:00:00 2001 From: Johnathan Aspinwall Date: Fri, 10 May 2024 11:26:21 -0600 Subject: [PATCH] Refactor mdJson_onlineResource module to include 'protocol' attribute --- .../writers/mdJson/sections/mdJson_onlineResource.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_onlineResource.rb b/lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_onlineResource.rb index b86b48831..97db1b538 100644 --- a/lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_onlineResource.rb +++ b/lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_onlineResource.rb @@ -19,10 +19,10 @@ def self.build(hOlRes) Jbuilder.new do |json| json.uri hOlRes[:olResURI] json.name hOlRes[:olResName] + json.protocol hOlRes[:olResProtocol] json.description hOlRes[:olResDesc] json.function hOlRes[:olResFunction] json.applicationProfile hOlRes[:olResApplicationProfile] - json.protocol hOlRes[:olResProtocol] json.protocolRequest hOlRes[:olResProtocolRequest] end