Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-123877

QHttpServer OpenAPI specs generator support

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • None
    • Network, Qt Http Server
    • None

      The opposite of issue QTBUG-122163, instead of generate C++ code from OpenAPI Specs (Design-First), Qt HTTP server should be able to generate OpenAPI JSON and/or YAML specs from code (Code-First).

      Generating OpenAPI specs from code functionality is available in some of web framework both built-in or 3rd party solution, for example:
      C++: oatpp
      C#: .NET
      Python: FastAPI, Litestar
      Rust: Poem, Salvo
      etc

      Generally it's done by looking for path, query, request body, and response body model of route implementation and if something is missing for OpenAPI specs generation, it will be annotated.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            oyheskes Øystein Heskestad
            zajimuma Zaji Muma
            Vladimir Minenko Vladimir Minenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes