OpenApi Spec for response properties that are objects has an empty 'default'
Options
![Chris Simon](https://us.v-cdn.net/6037124/user_avatars/2055105.jpg)
Chris Simon
Member ✭
When a table has an property with an object type, the OpenApi spec includes `default: {}` for that property in the response schema. This prevents swagger and other OpenApi generators from including the correct schema in their default example jsons.
Removing that `default: {}` would allow swagger to show the correct response payload.
Removing that `default: {}` would allow swagger to show the correct response payload.
Comments
-
We'll see about adding this feature - definitely would be helpful
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback