-
Notifications
You must be signed in to change notification settings - Fork 324
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
[FS-672] Improve swagger docs for Client fields. #2657
Conversation
It would be good to also improve the example. Right now it reads:
which is not very useful. |
30b2ddc
to
346b5eb
Compare
5b05ecc
to
773f3b6
Compare
773f3b6
to
0b84d03
Compare
0b84d03
to
b051731
Compare
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.
when building this, running http://localhost:8080/swagger-ui/
, and opening http://localhost:8080/swagger-ui/, I see this:
MLSPublicKeys
shouldn't be empty, should it?
Old swagger Client model was unused.
General type modifiers for MLSPublicKeys (like name, description) are applied in one location, but adapter for use as an optional field named "mls_public_keys" are done separately. Also, generalize a HasDescription instance.
Co-authored-by: fisx <[email protected]>
Co-authored-by: fisx <[email protected]>
0944120
to
461c21a
Compare
It doesn't have any fields, so yes, I think it is supposed to be empty in that display. As best as I can tell, that's normal for map/dict types in swagger. The example should have the only valid key and an example value, and there should also be a description if you expand the name. |
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.
LGTM
FS-672
Checklist