summaryrefslogtreecommitdiffstats
path: root/docs/datadictionary/resourcesource.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/datadictionary/resourcesource.rst')
-rw-r--r--docs/datadictionary/resourcesource.rst34
1 files changed, 20 insertions, 14 deletions
diff --git a/docs/datadictionary/resourcesource.rst b/docs/datadictionary/resourcesource.rst
index 852a34f07..49ef6a1a3 100644
--- a/docs/datadictionary/resourcesource.rst
+++ b/docs/datadictionary/resourcesource.rst
@@ -9,28 +9,34 @@ Input:
======
Expects the value to be provided as input to the request.
-source-input:
-.. code: json
-print("
- "description": "This is Input Resource Source Node Type",
- "version": "1.0.0",
- "properties": {},
- "derived_from": "tosca.nodes.ResourceSource"
-")
+
+.. code-block:: json
+ :linenos:
+
+ source-input
+ {
+ "description": "This is Input Resource Source Node Type",
+ "version": "1.0.0",
+ "properties": {},
+ "derived_from": "tosca.nodes.ResourceSource"
+ }
Default:
========
Expects the value to be defaulted in the model itself.
-source-default:
-
- "description": "This is Default Resource Source Node Type",
- "version": "1.0.0",
- "properties": {},
- "derived_from": "tosca.nodes.ResourceSource"
+.. code-block:: json
+ :linenos:
+ source-default
+ {
+ "description": "This is Default Resource Source Node Type",
+ "version": "1.0.0",
+ "properties": {},
+ "derived_from": "tosca.nodes.ResourceSource"
+ }
sql: