You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by js...@apache.org on 2013/07/18 16:45:16 UTC

git commit: improve CAMEL-6394 so we use the correct JSON schema name for the type of the property ; )

Updated Branches:
  refs/heads/master 25612791c -> 1d981304a


improve CAMEL-6394 so we use the correct JSON schema name for the type of the property ;)


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/1d981304
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/1d981304
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/1d981304

Branch: refs/heads/master
Commit: 1d981304a8586924f6a770a5c35f5ee0c7768aa7
Parents: 2561279
Author: James Strachan <ja...@gmail.com>
Authored: Thu Jul 18 15:44:57 2013 +0100
Committer: James Strachan <ja...@gmail.com>
Committed: Thu Jul 18 15:44:57 2013 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/camel/impl/ParameterConfiguration.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/1d981304/camel-core/src/main/java/org/apache/camel/impl/ParameterConfiguration.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/impl/ParameterConfiguration.java b/camel-core/src/main/java/org/apache/camel/impl/ParameterConfiguration.java
index 5ce3d88..af6883c 100644
--- a/camel-core/src/main/java/org/apache/camel/impl/ParameterConfiguration.java
+++ b/camel-core/src/main/java/org/apache/camel/impl/ParameterConfiguration.java
@@ -68,6 +68,6 @@ public class ParameterConfiguration {
         String typeName = parameterType.getCanonicalName();
         // TODO would be nice to add a description; wonder if we can find that from somewhere
         // generated by the APT tool?
-        return doubleQuote(name) + ": { \"typeName\": " + doubleQuote(typeName) + " }";
+        return doubleQuote(name) + ": { \"type\": " + doubleQuote(typeName) + " }";
     }
 }