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
949 stars 197 forks source link

Open API Spec only showing top level operations when using data-source-files. #2445

Closed sijpesteijn closed 1 week ago

sijpesteijn commented 3 weeks ago

Hi,

We are not seeing the underlying operations when we request the open api specifications of the open api specifications. We only see the top level definitions. Our top level dab-config does not contain any entities and therefor there are no operations. (Make sense) However in the underlying dab-configs we have several entities defined and we are expecting these to show up when we request /api/openapi

This is what we see:


{
  "openapi": "3.0.1",
  "info": {
    "title": "Data API builder - REST Endpoint",
    "version": "1.2.10"
  },
  "servers": [
    {
      "url": "/api"
    }
  ],
  "paths": { },
  "components": { }
}

Could you tell me if I'm doing something wrong or if I need to use a different approach to see these underlying operations?

Thank you, Gijs
JerryNixon commented 1 week ago

Acknowledge. Related #2462