https://lakefs.io/ logo
#dev
Title
# dev
r

Robin Moffatt

07/06/2023, 4:09 PM
does lakeFS expose a swagger file on its API endpoint? For example, like
<https://petstore.swagger.io/v2/swagger.json>
for the
<https://petstore.swagger.io/v2/>
endpoint. I've found https://docs.lakefs.io/assets/js/swagger.yml but the tool I'm using then takes
<https://docs.lakefs.io/>
as the endpoint
context: I'm experimenting with a client for R. Using
openapi-generator-cli
generates a library that doesn't seem to work (
Failed to deserialize response
) and so I'm playing around with
rapiclient
instead
b

Barak Amar

07/06/2023, 4:21 PM
<lakefs endpoint>/swagger.json should work
Must of the generators uses a host/base url from the swagger definition - but it is something that you can update
so for the one we embed for example the uri is just hold
/api/v1
and not full url. as it doesn't know how the service is exposed.
r

Robin Moffatt

07/06/2023, 4:33 PM
This message contains interactive elements.
b

Barak Amar

07/06/2023, 4:43 PM
without API v1
it can't be under the API as it describes it
👍 1
2 Views