What happened?
When adding the entity via DAB CLI, the generated path for REST contains an unescaped slash. This is the DAB CLI command I used:
dab add Todos --source dbo.todos --permissions "anonymous:*" --rest todos
and this is the configuration I got for the created entity:
"Todos": {
...
"rest": {
"enabled": true,
"path": "/todos",
"methods": [
"get",
"post",
"put",
"patch",
"delete"
]
},
...
}
the path at which REST API are available is:
instead of the correct:
Version
Microsoft.DataApiBuilder 0.8.44-rc+ebe4ef414deaf7670b579fe160b872c6b682c114
What database are you using?
Azure SQL
What hosting model are you using?
Local (including CLI)
Which API approach are you accessing DAB through?
REST
Relevant log output
No response
Code of Conduct
What happened?
When adding the entity via DAB CLI, the generated path for REST contains an unescaped slash. This is the DAB CLI command I used:
and this is the configuration I got for the created entity:
the path at which REST API are available is:
instead of the correct:
Version
Microsoft.DataApiBuilder 0.8.44-rc+ebe4ef414deaf7670b579fe160b872c6b682c114
What database are you using?
Azure SQL
What hosting model are you using?
Local (including CLI)
Which API approach are you accessing DAB through?
REST
Relevant log output
No response
Code of Conduct