-
Notifications
You must be signed in to change notification settings - Fork 39
API docs: swagger-ui docs missing resource endpoints #687
Copy link
Copy link
Open
Labels
bugSomething's wrongSomething's wrongdocsRelated to documentationRelated to documentationduplicateA similar issue already existsA similar issue already exists
Description
On some deployments, the swagger-ui interface remains incomplete. Specifically, the resource endpoints are not included.
For example, running minimal compose file of v1.16 locally, I see the following:
Whereas I would expect to see the following, which includes endpoints for catalog, dataset, etc.:
UPDATE
How to reproduce:
- run compose/fdp/ephemeral/v1:
export FDP_VERSION=1.18.1 # or older cd compose/fdp/ephemeral/v1 docker compose up -d
- visit the api docs in the browser to observe missing endpoints, e.g. http://localhost/swagger-ui.html or http://localhost/v3/api-docs (look in
pathsor observe thatfdpGenericPathsis an empty object{}) - restart the fdp:
docker compose restart fdp
- visit the api docs again and observe the missing endpoints are now present
Also note that the restart consistently leads to another known issue, viz. #516, when using the ephemeral stack:
No metadata found for the uri 'http://localhost'
This does not happen with the persistent stack (compose/fdp/persistent/v1)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething's wrongSomething's wrongdocsRelated to documentationRelated to documentationduplicateA similar issue already existsA similar issue already exists

