You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following schemas in the OpenAPI spec have default value "DEFAULT", which is not one of their defined enum values:
v2AnnotationForAssemblyType
v2AnnotationForOrganelleType
v2AssemblyLinksReplyAssemblyLinkType
v2GeneLinksReplyGeneLinkType
v2GenomeAnnotationRequestAnnotationType
This is causing me errors when trying to generate a Python API client with OpenAPI Generator.
I'm not too familiar with the OpenAPI specification, but from what I was able to gather the value of the default property must validate against the schema (swagger.io docs, this is different than Json Schema where is is merely suggested).
Based on my understanding, the value "DEFAULT" should be added to the enum property of these schemas.
The text was updated successfully, but these errors were encountered:
Hi @jlumpe. Thanks for pointing this out. Looks like it is an internal edge case for how we generate those schemas. They actually do have DEFAULT as a value but apparently there is a conflict (I believe because 'DEFAULT' is clashing since they are all put in the same namespace - but that is just a guess at the moment).
We're working on getting that fixed (it should be fairly quick but needs to go through our internal processes and won't be done as an 'emergency' type fix). If you would like to manually patch these for the time being (to unblock yourself), here are the values:
The following schemas in the OpenAPI spec have default value
"DEFAULT"
, which is not one of their defined enum values:v2AnnotationForAssemblyType
v2AnnotationForOrganelleType
v2AssemblyLinksReplyAssemblyLinkType
v2GeneLinksReplyGeneLinkType
v2GenomeAnnotationRequestAnnotationType
This is causing me errors when trying to generate a Python API client with OpenAPI Generator.
I'm not too familiar with the OpenAPI specification, but from what I was able to gather the value of the
default
property must validate against the schema (swagger.io docs, this is different than Json Schema where is is merely suggested).Based on my understanding, the value
"DEFAULT"
should be added to theenum
property of these schemas.The text was updated successfully, but these errors were encountered: