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

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ก.ย. 2024

ความคิดเห็น • 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

  • @irabor18
    @irabor18 10 หลายเดือนก่อน +1

    Great Content!

  • @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

  • @ABHISHEKKUMAR-pc9vh
    @ABHISHEKKUMAR-pc9vh ปีที่แล้ว +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  ปีที่แล้ว

      th-cam.com/video/XBxssKYf5G0/w-d-xo.html this is an update version which should make this easier

  • @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

  • @mariamzayed91
    @mariamzayed91 2 ปีที่แล้ว +3

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

    • @veryacademy
      @veryacademy  2 ปีที่แล้ว +2

      Happy to hear that!

  • @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

  • @rafalpantoja
    @rafalpantoja ปีที่แล้ว

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

  • @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 :)

  • @TheBodybuildingG
    @TheBodybuildingG 3 ปีที่แล้ว +2

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

    • @veryacademy
      @veryacademy  3 ปีที่แล้ว +1

      Glad you liked it!

  • @cristiancamilosanchezardil9730
    @cristiancamilosanchezardil9730 ปีที่แล้ว

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

  • @amaangigani9372
    @amaangigani9372 ปีที่แล้ว

    How to use auto schema for list of strings?

  • @santhoshreddy2571
    @santhoshreddy2571 3 ปีที่แล้ว +1

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

  • @아침밥-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 👍

  • @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.

  • @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 🤔

  • @dennisasamoah2213
    @dennisasamoah2213 2 ปีที่แล้ว +1

    great again

  • @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!

  • @ytg6663
    @ytg6663 2 ปีที่แล้ว

    Tq

  • @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?

  • @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.

  • @Empusas1
    @Empusas1 2 ปีที่แล้ว

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

  • @prateeksarangi9187
    @prateeksarangi9187 2 ปีที่แล้ว

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

  • @Vitaliy-ct2wv
    @Vitaliy-ct2wv 3 ปีที่แล้ว +1

    Very cool! Thanks!

  • @carinathebookworm5293
    @carinathebookworm5293 2 ปีที่แล้ว

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

  • @ahmedshahriarsakib5728
    @ahmedshahriarsakib5728 3 ปีที่แล้ว +1

    Subscribed

  • @AlwataniaAgence
    @AlwataniaAgence 3 ปีที่แล้ว

    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  3 ปีที่แล้ว

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

  • @elonmusk2142
    @elonmusk2142 4 ปีที่แล้ว +1

    good content again

  • @dhrutijoshi3701
    @dhrutijoshi3701 2 ปีที่แล้ว

    Just awesome

  • @quienestumadre
    @quienestumadre 2 ปีที่แล้ว +2

    This is the exact thig I was looking for, Thanks!