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.json attributes have order change per execution #22

Open
jflute opened this issue Jun 26, 2024 · 0 comments
Open

swagger.json attributes have order change per execution #22

jflute opened this issue Jun 26, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@jflute
Copy link
Contributor

jflute commented Jun 26, 2024

maximum and minimum

"landIntegerCustomTwo": {
  "type": "string",
  "maximum": 6,
  "minimum": 4
},

however annotations returned by reflection are not fixed order:

toOrderedAnnotationList(typeDocMeta.getAnnotationTypeList()).forEach(annotation -> {
...
typeDocMeta.setAnnotationTypeList(Arrays.asList(field.getAnnotations()));

needs to order explicitly?

while, almost no problem? because swagger.json is not as version control

@jflute jflute added enhancement New feature or request help wanted Extra attention is needed labels Jun 26, 2024
@jflute jflute self-assigned this Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant