Quantcast
Channel: DreamFactory Forum - Latest posts
Viewing all articles
Browse latest Browse all 5028

Bug in web service / definition file

$
0
0

hi there

just found something realy strange
just imagine you want to setup a web service with the folowing in definition file

Below is a part of my definition file

"/mango201/users/natural": {
"post": {
"tags": [
"mango201"
],
"description": "creates natural users",
"parameters": [
{
"name": "Tag",
"in": "query",
"description": "Tag",
"required": true,
"type": "string",
"format": "string"
},
{
"name": "FirstName",
"in": "query",
"description": "FirstName",
"required": true,
"type": "string",
"format": "string"
}
...

after saving / updating the service file the Definition file will look like this

> "/mango201/usersatural": {
		"post": {
			"tags": [
				"mango201"
			],
			"description": "creates  natural users",
			"parameters": [
				{
					"name": "Tag",
					"in": "query",
					"description": "Tag",
					"required": true,
					"type": "string",
					"format": "string"
				},
				{
					"name": "FirstName",
					"in": "query",
					"description": "FirstName",
					"required": true,
					"type": "string",
					"format": "string"
				}

for a strange reason the /n (from users/natural ) will be delete in the definition file
is like the system interpret the /n like an html code
causing of course the service to not working ..

any advice?
thanks


Viewing all articles
Browse latest Browse all 5028

Trending Articles