Skip to content

Webhook generation with OAPI 3.1 support #6394

Description

@qin-guan

What are you generating using Kiota, clients or plugins?

API Client/SDK

In what context or format are you using Kiota?

Nuget tool

Client library/SDK language

Csharp

Describe the bug

I am trying to generate webhook models using the latest Kiota version, with OAPI 3.1 support as indicated by this issue #3914

However, it appears that the models are not generated.

Could the team clarify on the state of OAPI 3.1 support? Thank you! 🙏🏻

Expected behavior

Models used for webhooks are generated

How to reproduce

kiota generate --output ./Src/ -l CSharp -d https://api.polar.sh/openapi.json -c PolarClient -n Polar.OpenAPI --co

Open API description file

No response

Kiota Version

1.24.3+cc67ec460c8dc51cdd6df7782dfb8e0925e97205

Latest Kiota version known to work for scenario above?(Not required)

No response

Known Workarounds

No response

Configuration

No response

Debug output

Click to expand log ```
</details>


### Other information

Activity

  1. added
    status:waiting-for-triage
    type:bug
    on Apr 3, 2025
  2. moved this to Needs Triage 🔍 in Kiotaon Apr 3, 2025
  3. added
    Csharp
    on Apr 3, 2025
  4. baywet commented on Apr 4, 2025

    @baywet
    Member

    Hi Qin Guan (@qin-guan)
    Thank you for using kiota and for reaching out.

    Clarify the state of OpenApi 3.1 support. Parsing documents and generating client from it is supported. We're still incubating the preview releases of OpenAPI.net (the library used for parsing our team also owns) and focusing most of our efforts to stabilize and release this library at this time.

    We have NOT taken advantage of any new features from the new standard, like the support to describe webhooks for instance.

    With the current state of things, this is something we (Microsoft team) are unlikely to implement anytime soon. But we'd be happy to receive a pull request for it.

    Is this something you'd like to submit a pull request for provided some guidance?

  5. added
    enhancement
    help wanted
    status:waiting-for-author-feedback
    type:feature
    and removed
    type:bug
    status:waiting-for-triage
    on Apr 4, 2025
  6. moved this from Needs Triage 🔍 to Proposed 💡 in Kiotaon Apr 4, 2025
  7. qin-guan commented on Apr 4, 2025

    @qin-guan
    Author

    Hey Vincent Biret (@baywet) thanks for the clarification.

    Yes - happy to have a swing at this if I could be pointed in the right direction. It might take a while for me to familiarize with Kiota internals (:

    What would you have in mind for the scope of this? I am not sure how the team envisions integrating proper webhook support with the various languages / frameworks, as far as I’m aware there’s no similar functionality in Kiota currently.

    I’m mainly looking at the webhook model generation functionality. I think it would be a particularly helpful addition since openapi-generator regularly outputs problematic code and NSwag does not support this too. It seems the work for this would be quite similar to #4835?

    Let me know your thoughts! Thank you~

  8. 12 remaining items

  9. qin-guan commented on Apr 14, 2025

    @qin-guan
    Author

    Pong

  10. baywet commented on Jun 16, 2025

    @baywet
    Member

    Qin Guan (@qin-guan) is this you're still working on, or can it be closed?

  11. added
    status:waiting-for-author-feedback
    and removed on Jun 16, 2025
  12. qin-guan commented on Jun 16, 2025

    @qin-guan
    Author

    Hey, unfortunately I haven't had the time to look into this as well :(

  13. added and removed
    status:waiting-for-author-feedback
    on Jun 16, 2025
  14. moved this from Proposed 💡 to Done ✔️ in Kiotaon Jul 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CsharpNeeds: Attention 👋enhancementhelp wantedtype:feature

    Projects

    • Status
      Done ✔️

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions