Skip to content

Commit

Permalink
fix(core): Replace special characters with a post processing step (#78)…
Browse files Browse the repository at this point in the history
… (#84)

* fix(core): Replace special characters with a post processing step (#78)

- Markup language related special characters are being replaced
- toString changes
- Now some classes are havin NonNull and Nullable annotations
- Tests passes again.

* fix(core): XSD version is invalid in the templates (#83)

- Using latest XSD version
  • Loading branch information
nandorholozsnyak authored Sep 9, 2023
1 parent 02398e3 commit 02c0d0f
Show file tree
Hide file tree
Showing 41 changed files with 427 additions and 115 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ This is a test description
|
|myproduct.features.foobar.value
|java.lang.String
|String value
|Hello world
|String \| value
|Hello \| world
|
|myproduct.features.foobar.enabled
|java.lang.Boolean
Expand All @@ -38,7 +38,7 @@ This is a test description
|
|myproduct.features.foobar.value
|java.lang.String
|String value
|Hello world
|String \| value
|Hello \| world
|
|===
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,8 @@ <h1 class="center center-text">IT</h1>
<tr>
<td>myproduct.features.foobar.value</td>
<td>java.lang.String</td>
<td>String value</td>
<td>Hello world</td>
<td>String | value</td>
<td>Hello | world</td>
<td></td>
</tr>
<tr>
Expand All @@ -210,8 +210,8 @@ <h1 class="center center-text">IT</h1>
<tr>
<td>myproduct.features.foobar.value</td>
<td>java.lang.String</td>
<td>String value</td>
<td>Hello world</td>
<td>String | value</td>
<td>Hello | world</td>
<td></td>
</tr>
</table>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This is a test description
|---|----|-----------|-------------|-----------|
| myproduct.features.foobar.enabled| java.lang.Boolean| Enable the foobar feature| true| |
| myproduct.features.foobar.number| java.lang.Number| Number value| 12.99| |
| myproduct.features.foobar.value| java.lang.String| String value| Hello world| |
| myproduct.features.foobar.value| java.lang.String| String &amp;#124 value| Hello &amp;#124 world| |
| myproduct.features.foobar.enabled| java.lang.Boolean| Enable the foobar feature| true| |
| myproduct.features.foobar.number| java.lang.Number| Number value| 12.99| |
| myproduct.features.foobar.value| java.lang.String| String value| Hello world| |
| myproduct.features.foobar.value| java.lang.String| String &amp;#124 value| Hello &amp;#124 world| |
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ endif::[]

|myproduct.features.foobar.value
|java.lang.String
|String value
|Hello world
|String \| value
|Hello \| world
|
|`MYPRODUCT_FEATURES_FOOBAR_VALUE`

Expand Down Expand Up @@ -80,8 +80,8 @@ endif::[]

|myproduct.features.foobar.value
|java.lang.String
|String value
|Hello world
|String \| value
|Hello \| world
|
|`MYPRODUCT_FEATURES_FOOBAR_VALUE`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,8 @@ <h2 id="Document 1-Unknown group">Unknown group</h2>
<tr>
<td>myproduct.features.foobar.value</td>
<td>java.lang.String</td>
<td>String value</td>
<td>Hello world</td>
<td>String | value</td>
<td>Hello | world</td>
<td></td>
<td>MYPRODUCT_FEATURES_FOOBAR_VALUE</td>
</tr>
Expand Down Expand Up @@ -237,8 +237,8 @@ <h2 id="Document 2-Unknown group">Unknown group</h2>
<tr>
<td>myproduct.features.foobar.value</td>
<td>java.lang.String</td>
<td>String value</td>
<td>Hello world</td>
<td>String | value</td>
<td>Hello | world</td>
<td></td>
<td>MYPRODUCT_FEATURES_FOOBAR_VALUE</td>
</tr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Document 1 description
|---|----|-----------|-------------|-----------|----------------------|
| myproduct.features.foobar.enabled| java.lang.Boolean| Enable the foobar feature| true| | `MYPRODUCT_FEATURES_FOOBAR_ENABLED`|
| myproduct.features.foobar.number| java.lang.Number| Number value| 12.99| | `MYPRODUCT_FEATURES_FOOBAR_NUMBER`|
| myproduct.features.foobar.value| java.lang.String| String value| Hello world| | `MYPRODUCT_FEATURES_FOOBAR_VALUE`|
| myproduct.features.foobar.value| java.lang.String| String &amp;#124 value| Hello &amp;#124 world| | `MYPRODUCT_FEATURES_FOOBAR_VALUE`|

## Document 2
Document 2 description
Expand All @@ -26,5 +26,5 @@ Document 2 description
|---|----|-----------|-------------|-----------|----------------------|
| myproduct.features.foobar.enabled| java.lang.Boolean| Enable the foobar feature| true| | `MYPRODUCT_FEATURES_FOOBAR_ENABLED`|
| myproduct.features.foobar.number| java.lang.Number| Number value| 12.99| | `MYPRODUCT_FEATURES_FOOBAR_NUMBER`|
| myproduct.features.foobar.value| java.lang.String| String value| Hello world| | `MYPRODUCT_FEATURES_FOOBAR_VALUE`|
| myproduct.features.foobar.value| java.lang.String| String &amp;#124 value| Hello &amp;#124 world| | `MYPRODUCT_FEATURES_FOOBAR_VALUE`|

Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@
<property>
<key>myproduct.features.foobar.value</key>
<type>java.lang.String</type>
<description>String value</description>
<defaultValue>Hello world</defaultValue>
<description>String | value</description>
<defaultValue>Hello | world</defaultValue>
<propertyDeprecation></propertyDeprecation>
<environmentVariable>MYPRODUCT_FEATURES_FOOBAR_VALUE</environmentVariable>
</property>
Expand Down Expand Up @@ -88,8 +88,8 @@
<property>
<key>myproduct.features.foobar.value</key>
<type>java.lang.String</type>
<description>String value</description>
<defaultValue>Hello world</defaultValue>
<description>String | value</description>
<defaultValue>Hello | world</defaultValue>
<propertyDeprecation></propertyDeprecation>
<environmentVariable>MYPRODUCT_FEATURES_FOOBAR_VALUE</environmentVariable>
</property>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ endif::[]

|myproduct.features.foobar.value
|java.lang.String
|String value
|Hello world
|String \| value
|Hello \| world
|


Expand Down Expand Up @@ -75,8 +75,8 @@ endif::[]

|myproduct.features.foobar.value
|java.lang.String
|String value
|Hello world
|String \| value
|Hello \| world
|


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,8 @@ <h2 id="Document 1-Unknown group">Unknown group</h2>
<tr>
<td>myproduct.features.foobar.value</td>
<td>java.lang.String</td>
<td>String value</td>
<td>Hello world</td>
<td>String | value</td>
<td>Hello | world</td>
<td></td>
</tr>
</tbody>
Expand Down Expand Up @@ -232,8 +232,8 @@ <h2 id="Document 2-Unknown group">Unknown group</h2>
<tr>
<td>myproduct.features.foobar.value</td>
<td>java.lang.String</td>
<td>String value</td>
<td>Hello world</td>
<td>String | value</td>
<td>Hello | world</td>
<td></td>
</tr>
</tbody>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Document 1 description
|---|----|-----------|-------------|-----------|
| myproduct.features.foobar.enabled| java.lang.Boolean| Enable the foobar feature| true| |
| myproduct.features.foobar.number| java.lang.Number| Number value| 12.99| |
| myproduct.features.foobar.value| java.lang.String| String value| Hello world| |
| myproduct.features.foobar.value| java.lang.String| String &amp;#124 value| Hello &amp;#124 world| |

## Document 2
Document 2 description
Expand All @@ -26,5 +26,5 @@ Document 2 description
|---|----|-----------|-------------|-----------|
| myproduct.features.foobar.enabled| java.lang.Boolean| Enable the foobar feature| true| |
| myproduct.features.foobar.number| java.lang.Number| Number value| 12.99| |
| myproduct.features.foobar.value| java.lang.String| String value| Hello world| |
| myproduct.features.foobar.value| java.lang.String| String &amp;#124 value| Hello &amp;#124 world| |

Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@
<property>
<key>myproduct.features.foobar.value</key>
<type>java.lang.String</type>
<description>String value</description>
<defaultValue>Hello world</defaultValue>
<description>String | value</description>
<defaultValue>Hello | world</defaultValue>
<propertyDeprecation></propertyDeprecation>

</property>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
{
"name": "myproduct.features.foobar.value",
"type": "java.lang.String",
"description": "String value",
"defaultValue": "Hello world"
"description": "String | value",
"defaultValue": "Hello | world"
},
{
"name": "myproduct.features.foobar.number",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ This is a test description
|
|myproduct.features.foobar.value
|java.lang.String
|String value
|Hello world
|String \| value
|Hello \| world
|

|===
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@ <h1 class="center center-text">IT</h1>
<tr>
<td>myproduct.features.foobar.value</td>
<td>java.lang.String</td>
<td>String value</td>
<td>Hello world</td>
<td>String | value</td>
<td>Hello | world</td>
<td></td>
</tr>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ This is a test description
|---|----|-----------|-------------|-----------|
| myproduct.features.foobar.enabled| java.lang.Boolean| Enable the foobar feature| true| |
| myproduct.features.foobar.number| java.lang.Number| Number value| 12.99| |
| myproduct.features.foobar.value| java.lang.String| String value| Hello world| |
| myproduct.features.foobar.value| java.lang.String| String &amp;#124 value| Hello &amp;#124 world| |

Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ endif::[]

|myproduct.features.foobar.value
|java.lang.String
|String value
|Hello world
|String \| value
|Hello \| world
|
|`MYPRODUCT_FEATURES_FOOBAR_VALUE`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,8 @@ <h2 id="Unknown group">Unknown group</h2>
<tr>
<td>myproduct.features.foobar.value</td>
<td>java.lang.String</td>
<td>String value</td>
<td>Hello world</td>
<td>String | value</td>
<td>Hello | world</td>
<td></td>
<td>MYPRODUCT_FEATURES_FOOBAR_VALUE</td>
</tr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This is a test description
|---|----|-----------|-------------|-----------|----------------------|
| myproduct.features.foobar.enabled| java.lang.Boolean| Enable the foobar feature| true| | `MYPRODUCT_FEATURES_FOOBAR_ENABLED`|
| myproduct.features.foobar.number| java.lang.Number| Number value| 12.99| | `MYPRODUCT_FEATURES_FOOBAR_NUMBER`|
| myproduct.features.foobar.value| java.lang.String| String value| Hello world| | `MYPRODUCT_FEATURES_FOOBAR_VALUE`|
| myproduct.features.foobar.value| java.lang.String| String &amp;#124 value| Hello &amp;#124 world| | `MYPRODUCT_FEATURES_FOOBAR_VALUE`|



Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<configurationProperties xmlns="https://github.com/rodnansol/spring-configuration-property-documenter"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://github.com/rodnansol/spring-configuration-property-documenter https://raw.githubusercontent.com/rodnansol/spring-configuration-property-documenter/master/public/schema-0.5.1.xsd">
xsi:schemaLocation="https://github.com/rodnansol/spring-configuration-property-documenter https://raw.githubusercontent.com/rodnansol/spring-configuration-property-documenter/master/public/schema-0.5.0.xsd">
<mainName>IT</mainName>
<mainDescription>This is a test description</mainDescription>
<tableOfContents>
Expand Down Expand Up @@ -42,8 +42,8 @@
<property>
<key>myproduct.features.foobar.value</key>
<type>java.lang.String</type>
<description>String value</description>
<defaultValue>Hello world</defaultValue>
<description>String | value</description>
<defaultValue>Hello | world</defaultValue>
<propertyDeprecation></propertyDeprecation>
<environmentVariable>MYPRODUCT_FEATURES_FOOBAR_VALUE</environmentVariable>
</property>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ endif::[]

|myproduct.features.foobar.value
|java.lang.String
|String value
|Hello world
|String \| value
|Hello \| world
|


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@ <h2 id="Unknown group">Unknown group</h2>
<tr>
<td>myproduct.features.foobar.value</td>
<td>java.lang.String</td>
<td>String value</td>
<td>Hello world</td>
<td>String | value</td>
<td>Hello | world</td>
<td></td>
</tr>
</tbody>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This is a test description
|---|----|-----------|-------------|-----------|
| myproduct.features.foobar.enabled| java.lang.Boolean| Enable the foobar feature| true| |
| myproduct.features.foobar.number| java.lang.Number| Number value| 12.99| |
| myproduct.features.foobar.value| java.lang.String| String value| Hello world| |
| myproduct.features.foobar.value| java.lang.String| String &amp;#124 value| Hello &amp;#124 world| |



Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<configurationProperties xmlns="https://github.com/rodnansol/spring-configuration-property-documenter"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://github.com/rodnansol/spring-configuration-property-documenter https://raw.githubusercontent.com/rodnansol/spring-configuration-property-documenter/master/public/schema-0.5.1.xsd">
xsi:schemaLocation="https://github.com/rodnansol/spring-configuration-property-documenter https://raw.githubusercontent.com/rodnansol/spring-configuration-property-documenter/master/public/schema-0.5.0.xsd">
<mainName>IT</mainName>
<mainDescription></mainDescription>
<tableOfContents>
Expand Down Expand Up @@ -42,8 +42,8 @@
<property>
<key>myproduct.features.foobar.value</key>
<type>java.lang.String</type>
<description>String value</description>
<defaultValue>Hello world</defaultValue>
<description>String | value</description>
<defaultValue>Hello | world</defaultValue>
<propertyDeprecation></propertyDeprecation>

</property>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
{
"name": "myproduct.features.foobar.value",
"type": "java.lang.String",
"description": "String value",
"defaultValue": "Hello world"
"description": "String | value",
"defaultValue": "Hello | world"
},
{
"name": "myproduct.features.foobar.number",
Expand Down
Loading

0 comments on commit 02c0d0f

Please sign in to comment.