Add support for Freemind to Wise transformation:
curl http://localhost:8080/service/transform.wise --data @fonts.mm -H "Content-Type:application/freemind" --post301
This commit is contained in:
@@ -38,6 +38,8 @@
|
||||
<entry key="png" value="image/png"/>
|
||||
<entry key="jpeg" value="image/jpg"/>
|
||||
<entry key="svg" value="image/svg+xml"/>
|
||||
<entry key="svg" value="application/svg+xml"/>
|
||||
<entry key="wise" value="application/wisemapping+xml"/>
|
||||
</map>
|
||||
</property>
|
||||
<property name="viewResolvers">
|
||||
@@ -79,4 +81,8 @@
|
||||
<bean id="transformViewSvg" class="com.wisemapping.rest.view.TransformView">
|
||||
<constructor-arg value="image/svg+xml"/>
|
||||
</bean>
|
||||
|
||||
<bean id="transformViewWise" class="com.wisemapping.rest.view.ImportTransformationView">
|
||||
<constructor-arg value="application/wisemapping+xml"/>
|
||||
</bean>
|
||||
</beans>
|
Reference in New Issue
Block a user