Skip to content

Conversation

@srowan
Copy link

@srowan srowan commented Feb 5, 2025

Small bug fix. This was using the wrong class (csv?)

@srowan
Copy link
Author

srowan commented Feb 5, 2025

Sorry, not sure what's going on with the whitespace differences 😓

@cantie
Copy link
Owner

cantie commented Feb 8, 2025

I've look at this issue, since Resource classes are generated from here:
https://developer.apple.com/sample-code/app-store-connect/app-store-connect-openapi-specification.zip so in this case I believe it was unproperly handle.
In some API if response with 200 HTTP status code, the content object is can be csv or another resource object.
image

I've planned to open the parse openapi.json project also, so maybe you can help me check this out?
For now I need time to review other APIs with the same situation to make sure we can use Resource object instead of csv.

Best Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants