I’m wondering what the latest is on this. It seems that the provided OpenAPI spec is still not valid, but for different reasons now:
Swagger schema validation failed.
Data does not match any schemas from 'oneOf' at #/paths//v2/token/patch/responses/200
Data does not match any schemas from 'oneOf' at #/paths//v2/token/patch/responses/200/content/application/json/schema
Data does not match any schemas from 'oneOf' at #/content/application/json/schema/properties/locked
No enum match for: int at #/properties/locked/type
Missing required property: $ref at #/properties/locked
Missing required property: $ref at #/content/application/json/schema
Missing required property: $ref at #/paths//v2/token/patch/responses/200
Data does not match any schemas from 'oneOf' at #/paths//v2/token/patch/requestBody
Data does not match any schemas from 'oneOf' at #/paths//v2/token/patch/requestBody/content/application/json/schema
Data does not match any schemas from 'oneOf' at #/content/application/json/schema/properties/locked
No enum match for: int at #/properties/locked/type
Missing required property: $ref at #/properties/locked
Missing required property: $ref at #/content/application/json/schema
Missing required property: $ref at #/paths//v2/token/patch/requestBody
I have been trying to use the spec to generate a client using swagger-codegen. I was eventually able to get it to work by manually modifying the downloaded swagger.json until there were no more errors.