Skip to content
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

Swagger docs: Add format info for date attributes with type integer #89

Open
JuAlMan opened this issue Aug 20, 2024 · 1 comment
Open
Assignees
Labels
api_v2.8 documentation Improvements or additions to documentation

Comments

@JuAlMan
Copy link

JuAlMan commented Aug 20, 2024

This issue is referring to date attributes like MetaData.credential_valid_from etc.
Those attributes store unix epoch timestamps and are therefore of type integer.

Unfortunately our code generation tools for Java generate Java Integer type for those attributes which can only store 32-bit-integers.
We would therefore appreciate if you could add an additional format info specifying int64 for those attributes like this:

type: integer
format: int64
@masv3971 masv3971 added api_v2.8 documentation Improvements or additions to documentation labels Aug 28, 2024
@masv3971
Copy link
Collaborator

masv3971 commented Sep 2, 2024

Does this solve the problem? a2d0921

@masv3971 masv3971 self-assigned this Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api_v2.8 documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants