Closed ghost closed 1 year ago
Example:
{"senestOpdat":"2023-09-19-09.35.42.931048"}
Fixed by #425
@bjjujyske available in version 0.9.22
@bjjujyske The changes in 0.9.22 included a regression, now fixed via #427 Please let me know if you have problems with missing DTOs - if so, I can cut a new release.
DTO generation fails with dk.mada.jaxrs:openapi-jaxrs-client:0.9.20
Cause of error is the presence of a "http response 425"
Caused by: java.lang.IllegalArgumentException: Unknown HTTP status code: '425'
If you remove the http 425 it will parse the yaml without errors
`responses: 200: description: Validerer at kro sagen er klar til dannelse af beslutningsgrundlaget content: application/json: schema: $ref: '#/components/schemas/klarTilBeslutningsGrundlagResponse'
Another issue is parsing timestamp definitions that uses ref
It will be generated as
private <UNKNOWN> senestOpdat;
Which wont compile. It should propably have been type String instead of UNKNOWN