Django Rest Framework Series - API Schema and Documentation Generation - Part-5

Поделиться
HTML-код
  • Опубликовано: 12 янв 2025

Комментарии • 49

  • @egehurturk6209
    @egehurturk6209 4 года назад +14

    You are the best youtube channel when it comes to Django. Huuuge thanks, man. Keep it up!

    • @veryacademy
      @veryacademy  4 года назад +3

      Thank you, very kind. We keep moving forward with Django - still quite a lot to cover so, we continue 🐱‍🏍

    • @tritran4139
      @tritran4139 Год назад +1

      I do agree

  • @mariamzayed91
    @mariamzayed91 2 года назад +3

    it's amazing getting this huge benefitable knowledge form one series! Thank You!

  • @TheBodybuildingG
    @TheBodybuildingG 3 года назад +2

    Now this is a topic I never saw approached. Keep it up!

  • @jeraldjoshuaechavia1108
    @jeraldjoshuaechavia1108 3 года назад

    The best django channel for me!!!! Can I give this a double thumbs up instead? Congrats for this, again, very informative tutorial.

  • @Acel-01
    @Acel-01 3 года назад +2

    Thank you very much! Been trying to generate a documentaion for the project I'm working on for days but kept running into issues. Thanks again for this video, very easy to follow with no hassle

  • @irabor18
    @irabor18 Год назад +1

    Great Content!

  • @dennisasamoah2213
    @dennisasamoah2213 2 года назад +1

    great again

  • @prateeksarangi9187
    @prateeksarangi9187 3 года назад

    Thanks !! Again you are awesome !! Looking forward to see future content !

  • @아침밥-g8g
    @아침밥-g8g 4 года назад +1

    Amazing !!!! , Thanks to this, it will be very useful for collaboration with frontend

    • @veryacademy
      @veryacademy  4 года назад

      You are very welcome! Glad it was useful 👍

  • @dhrutijoshi3701
    @dhrutijoshi3701 2 года назад

    Just awesome

  • @santhoshreddy2571
    @santhoshreddy2571 3 года назад +1

    Thank you, you made it look very simple, I couldn't understand it properly when I was going through doucmentation.

  • @Chowdahhh
    @Chowdahhh 3 года назад

    Hi! I've generated my schema following the tutorial but when viewing it like you do at 8:30, I don't see the properties the api call requires, just a $ref line, like this:
    /api/token/:
    post:
    operationId: createTokenObtainPair
    description: 'Takes a set of user credentials and returns an access and refresh
    JSON web
    token pair to prove the authentication of those credentials.'
    parameters: []
    requestBody:
    content:
    application/json:
    schema:
    $ref: '#/components/schemas/TokenObtainPair'
    Any idea why this could be?

  • @Vitaliy-ct2wv
    @Vitaliy-ct2wv 4 года назад +1

    Very cool! Thanks!

  • @green1278dramost5
    @green1278dramost5 2 года назад +2

    Thank you for the video. Is there a way to generate similar documentation if I'm using Django, not DRF?

    • @veryacademy
      @veryacademy  2 года назад

      Hi, this is related to api development and generating api documentation. I have shown in other tutorials how to generate database schemes. If your using a different api, that particular api will guide you to what documentation tools it supports

  • @elonmusk2142
    @elonmusk2142 4 года назад +1

    good content again

  • @davistodt3866
    @davistodt3866 Год назад

    Can someone explain to me what is being offered here by using swagger docs instead of the "built in" api docs you're getting for free from DRF? I'm clearly missing something and am new to DRF. Thanks in advance

  • @siddharthshukla3557
    @siddharthshukla3557 4 года назад +1

    please consider doing a project based on django-channels where views, models, etc are being used.
    or maybe somehow use django-channels in this project.

    • @veryacademy
      @veryacademy  4 года назад +3

      I have added this to the list. I do have a number of project I am working on at the same time - everything is moving slowly forward to much larger and more detailed projects.

  • @nikhilbhardwaj6055
    @nikhilbhardwaj6055 3 года назад +1

    But how can we integrate jwt in it (add path('api/docs/', include_docs_urls(title="Rest Framework Api",
    authentication_classes=[],
    permission_classes=[]
    ))
    Thank you so much :)

  • @amaangigani9372
    @amaangigani9372 Год назад

    How to use auto schema for list of strings?

  • @rafalpantoja
    @rafalpantoja 2 года назад

    Good evening, is it possible to customize this document that Django generates automatically, if so can you help me?

  • @AlwataniaAgence
    @AlwataniaAgence 4 года назад

    Hi, I’m so confused, I have an e-commerce web site, only Django, html, css and is, for dB I used MySQL. I want to build an android app for the existing web project. How can I do? I searched for a lot and didn’t found any information about it.

    • @veryacademy
      @veryacademy  4 года назад

      Hey, sorry not to get back to you sooner - replied in the other comment.

  • @as5728-h1i
    @as5728-h1i 3 года назад +1

    Subscribed

  • @Empusas1
    @Empusas1 3 года назад

    you explained the swagger UI features, but then did not use it?

  • @carinathebookworm5293
    @carinathebookworm5293 2 года назад

    Is there a way to make the documentation into a pdf?

  • @cristiancamilosanchezardil9730

    Is there a way to make it a json raw data and not fill a form?

  • @ytg6663
    @ytg6663 2 года назад

    Tq

  • @amanjain6680
    @amanjain6680 3 года назад +1

    I got an error saying view() requires a positional argument. Dont know why!

    • @veryacademy
      @veryacademy  3 года назад

      Hi Aman, did you add the request in the view?

    • @amanjain6680
      @amanjain6680 3 года назад

      @@veryacademy all my custom view have request in it. The problem occurs with the api schema,when teying to fetch 'schema' end point. You did not put request in anywhere while building the Schema 🤔

  • @KrishnaManohar8021
    @KrishnaManohar8021 4 года назад +1

    How many times I tell you thanks 😬😬😬😬

    • @veryacademy
      @veryacademy  4 года назад +1

      Thank you - no worries, please keep commenting it helps the channel grow. Much more to come!

  • @ABHISHEKKUMAR-pc9vh
    @ABHISHEKKUMAR-pc9vh 2 года назад +1

    I got this error can you please help me:
    "Could not import 'rest_framework.schemas.coreapi.AutoSchema' for API setting 'DEFAULT_SCHEMA_CLASS'. ModuleNotFoundError: No module named 'rest_framework.schemas.coreapi'.

    • @veryacademy
      @veryacademy  2 года назад

      ruclips.net/video/XBxssKYf5G0/видео.html this is an update version which should make this easier