Azure / data-api-builder

Data API builder provides modern REST and GraphQL endpoints to your Azure Databases and on-prem stores.
https://aka.ms/dab/docs
MIT License
883 stars 180 forks source link

REST and GraphQL path not honored #495

Closed yorek closed 2 years ago

yorek commented 2 years ago

It seems that configuring the desired path for REST or GraphQL endpoint in the configuration file doesn't have any effect.

The following sample

"graphql": {
  "path": "/v1/graphql"
},
"rest": {
  "path": "/v1/api"
}

should expose the endpoint at /v1/graphql and /v1/api path, but I still see my endpoint be available at /api/graphl and /api respectively.

aaronburtle commented 2 years ago

fix for REST is in review, GraphQL will come next. see: https://github.com/Azure/hawaii-engine/pull/508