How to document SpringBoot Rest APIs using Open API and Swagger? | SpringBoot Tutorial Part 3

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 มิ.ย. 2024
  • How to document SpringBoot Rest APIs using Open API and Swagger?
    00:00 Spring Doc Introduction
    01:20 What is Spring Doc Open API Java Library?
    02:40 Open API vs Swagger API?
    04:10 Workshop
    . Add Dependancy
    . View API JSON
    . Interact through Swagger API
    . Advance Features
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 21

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

    I loved your video. Your English is very clear, you speak calmly and simply. Straight to the point. Thank you very much.

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

    Really thorough presentation, with practical tips. Thanks!

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

    Amazing, presentation is very simple, any one can catchup open API concept and implementation, thank you much

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

    Thank you for the vedio...simple and easy to understand

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

    Thank you for the video. Beside the fact that it was informative your kind tone of voice just brightened my day a bit :)

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

      Thank you for your kind words.

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

    Thanks for this tutorial. I recently tried springdoc-swagger-ui but swagger UI hangs whenever I test an endpoint which returns a large response back. Can you pls suggest a workaround for this?

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

    Beautiful

  • @JoaoVictor-uo4dn
    @JoaoVictor-uo4dn 11 หลายเดือนก่อน

    Hello, does the yaml/json file get stored somewhere?

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

    how to write webhook using spring boot to get the json data from Microsoft apis
    could you put a video or give me sample code

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

    It is nice, but...ni title is "How to document", but I dont see any document in the video. Your wrote it by hand?

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

    Thank you for your video! How can we secure Open API and use a JWT token to send requests from Open API?

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

      OpenAPI uses the term security scheme for authentication and authorization schemes. OpenAPI 3.0 lets you describe APIs protected using the following security schemes:
      A. HTTP authentication schemes (they use the Authorization header):
      1. Basic
      2. Bearer
      3. other HTTP schemes as defined by RFC 7235 and HTTP Authentication Scheme Registry
      B. API keys in headers, query string or cookies:
      1. Cookie authentication
      C. OAuth 2
      D. OpenID Connect Discovery

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

      Thank you

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

    nice tutorial, can u help me : where can i find swagger annotations documentation?

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

      Try this: springdoc.org/

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

    how to add centralized swagger in micro-services?

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

    Your page is still default OpenAPi definition and the badges default. How to adjust this please? Properly.

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

      See this: springdoc.org/index.html#how-can-i-configure-swagger-ui

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

    by default swagger ui uses http protocol to connect with backend but my application on cloud uses https protocol. So that if i execute the try out i am getting an error as unauthorised. Can you please tell me how to change swagger UI protocol from http to https?

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

    Hello, I am trying to set this up and I have gone throught documentation but cant resolve the error
    whenever I am hitting the localhost:8080/myapp/swagger-ui.html I am directed to a plank page . I can access v3/api-docs.
    Please let me know if you know solution.
    Thanks