gateway
Get config file
A basic OpenAPI config file is not required but can add context to the API provided by the gateway. If none is provided Direktiv generates a virtual one with a basic configuration. The paths section is autogenerated based on the route files provided in the namespace.
get/api/v2/namespaces/{namespace}/gateway/info
Path parameters
namespacestring required
Query parameters
expandstring
Includes all relative files into one OpenAPI spec file
serverstring
Includes a server name into the spec
Response
Basic configuration file for gateway in the namespace
Example response
{
"file_path": "/my/path.yaml"
}Changes
No recorded changes to this endpoint across all 5 revisions of this API.