We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
With newest umbraco forms openapi schema, I cannot generate schema:
const openApiSchema = await response.json(); const formTypes = await openApiToGraphql(openApiSchema);
Attaching the json from response used above. umbraco_forms_api_openapi.zip
Seems the issue is that enums inside "oneOf" are failing:
"fieldIndicationType": { "description": "Gets or sets the form's field mandatory or optional field indication type.", "oneOf": [ { "$ref": "#/components/schemas/FormFieldIndication" } ] }, ... "FormFieldIndication": { "type": "integer", "description": "Enumeration for field indications.", "x-enumNames": [ "NoIndicator", "MarkMandatoryFields", "MarkOptionalFields" ], "enum": [ 0, 1, 2 ] },
There is an exception in createOrReuseEnum(), enum is undefined (expanding schema):
createOrReuseEnum()
enum
Is that so that enum cannot be part of complex type?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
With newest umbraco forms openapi schema, I cannot generate schema:
Attaching the json from response used above. umbraco_forms_api_openapi.zip
Seems the issue is that enums inside "oneOf" are failing:
There is an exception in
createOrReuseEnum()
,enum
is undefined (expanding schema):Is that so that enum cannot be part of complex type?
The text was updated successfully, but these errors were encountered: