Commit 7ad5f4df authored by Muhammad Hamza's avatar Muhammad Hamza
Browse files

fix enum issue in definitions file

parent 995ad39c
Loading
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -197,9 +197,10 @@
      "properties": {
        "grantTypes": {
          "type": "array",
          "minItems": 1,
          "minItems": 0,
          "items": {
            "type": "string"
            "type": "string",
            "enum": ["SEE_DESCRIPTION"]
          },
          "description": "\"List of supported OAuth 2.0 grant types.\\nEach entry shall be one of the following permitted values:\\nOAUTH2_AUTHORIZATION_CODE (Authorization code grant type)\\nOAUTH2_IMPLICIT_GRANT\\n \\t(Implicit grant type)\\nOAUTH2_RESOURCE_OWNER\\n\\t(Resource owner password credentials grant type) \\nOAUTH2_CLIENT_CREDENTIALS\\n\\t(Client credentials grant type)\\nOnly the value \\\"OAUTH2_CLIENT_CREDENTIALS\\\" is supported in the present document. \"\n",
          "enum": ["SEE_DESCRIPTION"]
+3 −1
Original line number Diff line number Diff line
@@ -168,9 +168,11 @@
      properties:
        grantTypes:
          type: array
          minItems: 1
          minItems: 0
          items:
            type: string
            enum:
            - SEE_DESCRIPTION
          description: >
            "List of supported OAuth 2.0 grant types.\nEach entry shall be one of the following permitted
            values:\nOAUTH2_AUTHORIZATION_CODE (Authorization code grant type)\nOAUTH2_IMPLICIT_GRANT\n