Skip to content

Commit 765f0bc

Browse files
committed
changed processing endpoint from dependate to process
1 parent c9170ab commit 765f0bc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

functions/docs/swagger.config.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
}
139139
}
140140
},
141-
"/dependate": {
141+
"/process": {
142142
"post": {
143143
"description": "Post the sentence object and get an array of the structure with dependencies traced and most processing of words already applied.",
144144
"parameters": [

functions/routing.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ app.post('/parse', allowCors, (req, res) => {
7575
})
7676
})
7777

78-
app.post('/dependate', allowCors, (req, res) => {
78+
app.post('/process', allowCors, (req, res) => {
7979
const body = req.body;
8080
if (!body.words || !body.types) {
8181
res.status(400).send({err: 'Wrong request body, missing properties words and/or types'})

0 commit comments

Comments
 (0)