-
Notifications
You must be signed in to change notification settings - Fork 273
Open
Labels
enhancementNew feature or requestNew feature or requesthacktoberfesttriageissues to be triagedissues to be triaged
Milestone
Description
What happened?
When I have a configuration that is read only - GET method on a rest api, then both swagger and /openapi endpoints still all of the methods.
For example:
"entities": {
"dab_adv2012-sales-currencyrate": {
"source": {
"object": "[Sales].[CurrencyRate]",
"type": "View",
"key-fields": [
"CurrencyRateID"
]
},
"graphql": {
"enabled": false
},
"rest": {
"methods": [
"Get"
],
"enabled": true
},
"permissions": [
{
"role": "anonymous",
"actions": [
{
"action": "Read"
}
]
}
]
},
produces all the endpoints in swagger and open api.
Expected: the endpoints are limited to the selected rest methods.
Version
0.8.52
What database are you using?
Azure SQL
What hosting model are you using?
Static Web Apps (SWA)
Which API approach are you accessing DAB through?
REST
Relevant log output
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Benjiiim, Vagning, mirokauppinen and attetuo
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthacktoberfesttriageissues to be triagedissues to be triaged