Vitaliy Kucheryaviy
Vitaliy Kucheryaviy
@lucasrcezimbra > What I'm suggesting is to have the ability to select the response fields using the query parameters. well this is not something that is standardised in OpenAPI (django...
@oliwarner @ievans3024 @andres-k > The first is accessing parent parameters (eg `company_slug`) from within the API view you can do that like this (using `Path` marker): ```Python api = NinjaAPI()...
`include_in_schema=False` is important: ```Python ... company_slug: str = Path(..., include_in_schema=False) ```
Merged in separate PR
@migueltorrescosta I guess you can try the following - in urls.py(!!!) before include api to urls ```Python def set_all_by_alias(api): for _pth, router in api._routers: for view in router.path_operations.values(): for op...
Hi @eldardamari I assume you use ninja 1.x (pydantic 2.x) The new pydantic changes the place to configure to `model_config` ([docs](https://docs.pydantic.dev/latest/api/config/#pydantic.config)): ```Python class ProjectSiteSchema(ModelSchema): model_config = dict(alias_generator=to_camel, populate_by_name=True) class Meta:...
@Nils3311 Social-nets authentication is not API/OpenAPI specific to implement it you can use any django app that does it with regular html pages - and then use session auth in...
@skokado > I tried async-auth with v1.0 beta2 but it didn't work, and I finally came across this issue... could you provide your example code ?
@skokado please check with latest version ``` pip install django-ninja==1.0rc0 ```
Hi @stephenrauch Thank you for contribution - but this cannot be introduced - there are lot of existing django ecosystem decorators that people use along with django-ninja - and all...