| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
…include examples that fail the schema validation done by schemathesis
…t fields. For example, the regex `\d+\.field1` is used in the API schema to indicate that the API will return attribute values like `0.field1`, `1.field1`. Previously, attr was incorrectly specified as an enum with the value `INDEX.field1` that represents the actual API output. fix #76
DICT_KEY_IN_API_SCHEMA settings
…rializers and list/dict fields
…/dict fields in the generated API schema
| Back | FazBrowse Home | New Git URL |
Use a pattern to correctly describe the attr value in validation errors in all cases.
Specifically, this fixes the incorrect description of the attr value for list serializers and list/dict fields.
Taking the example of a list serializer with 1 field named my_field. The validation errors for this field will have the attr value set as 0.my_field, 1.my_field, ...