Vitaliy Kucheryaviy
Vitaliy Kucheryaviy
Hi @srcreigh Not sure I understand this do you have some code sample that I can use to reproduce the issue ?
@roma-glushko well it work for me on default settings:  which version for django/django-ninja do you use ?
Hi @aambrozkiewicz I guess you can define your own pydantic field types see [Custom Data Types](https://pydantic-docs.helpmanual.io/usage/types/#custom-data-types)
not sure I understnad correctly.. but you can have OpenAPI-documented parameters that read from header: https://github.com/vitalik/django-ninja/blob/41c10be12323439502278cfd5d0128e7d0fecde6/tests/test_request.py#L14-L16
Hi @VityasZV I think it should work out of the box to send non-json body you can just use `body` argument in parsers tests: see https://github.com/vitalik/django-ninja/blob/master/tests/test_parser.py#L38 for renderers: https://github.com/vitalik/django-ninja/blob/master/tests/test_renderer.py#L89-L94
@dralley Well it's possible (I guess it's even somewhat OpenAPI compatible) ```Python from django.contrib.auth.models import User from ninja import NinjaAPI, Schema, Query api = NinjaAPI() class UserSchema(Schema): id: int =...
Hi @maifeeulasad Could you share more of your code ? - what is BaseModel ? - how you defined your view function ?
Hi @Kimmyungetouh Yeah, this is a design question... I did not came up with a solution, I see for now few: 1) create_schema should generage for FK fields with column...
Hi @KimSoungRyoul Well the json representation layer is fully depends on pydantic... you can do something like this: ``` class MyCustomSchema(BaseModel): class Config: json_encoders = { datetime: lambda v: v.timestamp(),...