Skip to content

Remove type for fields.Raw#178

Open
0mza987 wants to merge 1 commit intofuhrysteve:masterfrom
0mza987:hod/raw
Open

Remove type for fields.Raw#178
0mza987 wants to merge 1 commit intofuhrysteve:masterfrom
0mza987:hod/raw

Conversation

@0mza987
Copy link

@0mza987 0mza987 commented Aug 22, 2023

marshmallow field Raw means the value can be any type, but there is no equivalent type for json schema. Current behavior is to generate a type string which is not appropriate imo.

We can remove type attribute so the json schema parser won't raise error for property generated from fields.Raw.

@0mza987 0mza987 changed the title Remove type for fields.Raw Remove type for fields.Raw Aug 22, 2023
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