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

QHttpServer OpenAPI specs generator support

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

              cnn Qt Core & Network
              zajimuma Zaji Muma
              Vladimir Minenko Vladimir Minenko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes