Update Swagger
Our OpenAPI/Swagger dependencies are a little out-of-date:
- OpenAPI Generator: current: 5.2.0, available: 6.0.0
- GoSwagger: current: 0.23, available: 0.29
The GoSwagger is now feature-complete. It means that it fully implements the Swagger 2.0 specifications. It is great news but the upgrade is not easy because GoSwagger supports now the "read-only" attribute.
Relevant only for Schema "properties" definitions. Declares the property as "read only". This means that it MAY be sent as part of a response but MUST NOT be sent as part of the request. Properties marked as readOnly being true SHOULD NOT be in the required list of the defined schema. Default value is false.
Unfortunately, our frontend sends read-only attributes in the requests. It causes them to be rejected by the server. It seems that it takes a lot of work to solve the problem.