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

[OAS] Figure out what Enum is doing

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • None
    • Network

      There's an enum.mustache template file in the OpenAPI generator templates. The generated Enum class can be a base class for the model.

      The templates also have {{#isEnum}} switch which is used in various places.

      The only relevant part in the spec that I could find after a quick check is https://spec.openapis.org/oas/v3.1.1.html#fixed-fields-4, but I can be missing something.

      The scope of this task is to check if the current implementation matches the OpenAPI spec and provide tests for the Enum objects.

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

            cnn Qt Core & Network
            ivan.solovev Ivan Solovev
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes