Sfoglia il codice sorgente

Merge pull request #221 from BraisGabin/patch-1

Improve yaml documentacion Fix #100
Johannes 11 anni fa
parent
commit
e104873368
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3 1
      doc/reference/yml_reference.rst

+ 3 - 1
doc/reference/yml_reference.rst

@@ -16,7 +16,9 @@ YAML Reference
             map:
                 some-value: ClassName
         virtual_properties:
-            getSomeProperty: {}
+            getSomeProperty:
+                serialized_name: foo
+                type: integer
         xml_namespaces:
             "": http://your.default.namespace
             atom: http://www.w3.org/2005/Atom