web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Swagger file definiton...
Power Automate
Unanswered

Swagger file definiton for object/array response

(0) ShareShare
ReportReport
Posted on by 2

I'm trying to realize a connector for easyBill REST API

 

Now the problem starts for Definitions like Customers (see code below).

 

I already validated on swagger.io

 

But if I use it for custom connector schema validation fails resolving properly with objects/collections like these.

 

Is this kind of object not supported?

 

"definitions": {
 "List": {...},
 "Customer": {...},
 "Customers": {
 "type": "object",
 "allOf": [
 {
 "$ref": "#/definitions/List"
 },
 {
 "properties": {
 "items": {
 "type": "array",
 "items": {
 "$ref": "#/definitions/Customer"
 }
 }
 }
 }
 ]
 },
Categories:
I have the same question (0)
  • v-micsh-msft Profile Picture
    on at

    Hi @Tom4U,

     

    I think it should be the definition error.

    Besides, would it be possible to define the customers as an array, which items configured to Customer?

     

    Regards,

     

  • Tom4U Profile Picture
    2 on at

    Sorry, but I don't really get your questions. Customers is already an array. Also customizing is no possibility as this is not my API description file and therefore should stay as it is.

    What do you mean by "which items configured to Customer"?

     

    Cheers

  • ashwinsa Profile Picture
    on at

    Hi @Tom4U, we don't support the "allOf" syntax in Flow designer/backend. Are you not able to get this working without the allOf ? Can you show us how the sample data looks like fr the definition Customers ?

  • assaf-2bcloud Profile Picture
    6 on at

    Hi, is allOf keyword still not supported when using the designer?

    I get an "unable to resolve schema" error in the tests section and I cannot see a list of result fields when working on the connector.

     

    Can someone explain in the example above how would we have the swagger definition without including the allOf keyword?

    Thanks

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard