/marketing/v3/forms circular reference

The API at https://api.hubspot.com/api-catalog-public/v1/apis/marketing/v3/forms has an issue it its definition. This part of the definition causes a circular reference:

“FormDefinitionCreateRequestBase” : {
“oneOf” : [ {
“$ref” : “#/components/schemas/HubSpotFormDefinitionCreateRequest”
} ]
},

“HubSpotFormDefinitionCreateRequest” : {
“allOf” : [ {
“$ref” : “#/components/schemas/FormDefinitionCreateRequestBase”
}, { … } ] }

Can this be fixed?

Hey, @phoi :waving_hand: I’d like to get this passed on to my internal resources. Are there any additional details or context you can share?

Thank you! — Jaycee

There is not much to add actually. We use the Open API definition to autmatically generate software, for example for reporting using Power BI. In order to retrieve all the possible ‘tables’, we are using the Open API definition. Not being able to use this endpoint effectively makes it impossible to call all the `forms` endpoints for us, or we should work out the tables by hand, which is too costly.