-
Notifications
You must be signed in to change notification settings - Fork 367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add lakefs version to ui #2088
add lakefs version to ui #2088
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Requested change is to use objects (not strings) in responses.
api/swagger.yml
Outdated
content: | ||
application/json: | ||
schema: | ||
type: string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be an object. That way we can add more details, e.g. API versions, plugin versions, etc.
Passing a primitive or an array as the entire JSON response is somewhat similar to "primitive obsession", and can be particularly nasty in APIs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thanks!
@@ -694,7 +694,11 @@ components: | |||
type: string | |||
blockstore_namespace_ValidityRegex: | |||
type: string | |||
|
|||
VersionConfig: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit:
VersionConfig: | |
VersionConfig: |
api/swagger.yml
Outdated
description: get version of lakeFS server | ||
responses: | ||
200: | ||
description: lakeFS storage configuration |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The description is incorrect
Solves #2077