I ran the new spec through OpenAPI codegen for Java and got roughly the same wire format (minus ServiceInfo which now has lots of new fields). Also required seems now to be acknowledged by the generator for Java
TODOs:
compare with WES and try to align
I noticed that WES additionally has:
-- Error code responses listed (400, 404 etc) - not sure, if we want to add it at that stage. Breaking change.
-- Error response model - not sure, if we want to add it at that stage. Breaking change
-- URL defined as composite of host, path This we can do for TES.
-- Executive Summary - this is what we need for docs generation
externalise ServiceInfo - DONE. I added additional storage and moved '/service-info' outside of '/tasks'. That is breaking change as well, but seems required.
The result of conversion from OpenAPI 2 to 3 using https://converter.swagger.io/ without any changes Checks so far:
externalise ServiceInfo- DONE. I added additional storage and moved '/service-info' outside of '/tasks'. That is breaking change as well, but seems required.