Vitaliy Kucheryaviy

Results 279 comments of Vitaliy Kucheryaviy

well pluggable docs are added in ninja 1.x for 0.22 what you can do - add "ninja" to INSTALLED_APPS - create template ninja/swagger.html on your templates folder and override it...

@taobojlen @LouisDelbosc you can try to achieve this with django middleware 1) make sure all your apis ends with slash 2) create middleware that will append slash to every request:...

Hi @akotsampaseris since router does not really know how it will be included you need to "help" it to understand where to get your customer_id parameter - try this: ```Python...

or `customer_id: Path[int]` if you use ninja 1.x

Hi @torx-cz yeah indeed - I did not notice that before - and it is interesting to find out what's the trick (as Schema is just inherited from the BaseModel......

@eznix86 yeah - definitelly outdated

Hi @mshemuni yeah it make some sense... but unfortunately this `the_field_1: str = None` is not a valid expression according to mypy (and pydantic pretty much follows mypy on typing...

@cltrudeau I was thinking about PATCH - and it looks like what people have issues with and most common use is that schema is created with all fields option and...

Hi @stvdrsch You can achieve this by making custom type (that access comma separated string and turns to list) - [docs are here](https://docs.pydantic.dev/latest/concepts/types/#adding-validation-and-serialization) example: ```Python from typing_extensions import Annotated from...