does lakeFS expose a swagger file on its API endpo...
# dev
r
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
<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
This message contains interactive elements.
b
without API v1
it can't be under the API as it describes it
👍 1