question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Scheme Objects Not Rendered

See original GitHub issue

Portal Shows This: The Object is missing the “DBConnectionInfo” property.

image

When you view in Swagger, its correct: image image

image

JSON

{
  "openapi": "3.0.1",
  "info": {
    "title": "Swashbuckle",
    "description": "Swagger document by Swashbuckle",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://REMOVED.azurewebsites.net"
    }
  ],
  "paths": {
    "/GetAnswers": {
      "post": {
        "tags": [
          "GetAnswers"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetAnswersInputDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GetAnswersResponseDto"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Void"
                }
              }
            }
          }
        }
      }
    },
    "/GetQuestions": {
      "post": {
        "tags": [
          "GetQuestions"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetQuestionsInputDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GetQuestionResponseDto"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Void"
                }
              }
            }
          }
        }
      }
    },
    "/PostForm": {
      "post": {
        "tags": [
          "PostForm"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostFormInputDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Void"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Void"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "DbConnectionInfoDto": {
        "type": "object",
        "properties": {
          "serverName": {
            "type": "string",
            "nullable": true
          },
          "databaseName": {
            "type": "string",
            "nullable": true
          },
          "encryptionFlag": {
            "type": "boolean"
          },
          "persistSecurityInfoFlag": {
            "type": "boolean"
          },
          "timeout": {
            "type": "integer",
            "format": "int32"
          },
          "connectionString": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetAnswersInputDto": {
        "type": "object",
        "properties": {
          "dbConnectionInfo": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DbConnectionInfoDto"
              }
            ],
            "nullable": true
          },
          "activeOnly": {
            "type": "boolean",
            "nullable": true
          },
          "questionIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetAnswersResponseDto": {
        "type": "object",
        "properties": {
          "questionId": {
            "type": "integer",
            "format": "int32"
          },
          "answerId": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          },
          "displaySequence": {
            "type": "integer",
            "format": "int32"
          },
          "answerText": {
            "type": "string",
            "nullable": true
          },
          "answerDescription": {
            "type": "string",
            "nullable": true
          },
          "editCount": {
            "type": "integer",
            "format": "int32"
          },
          "sortOrder": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "Void": {
        "type": "object",
        "additionalProperties": false
      },
      "GetQuestionsInputDto": {
        "type": "object",
        "properties": {
          "dbConnectionInfo": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DbConnectionInfoDto"
              }
            ],
            "nullable": true
          },
          "questionLevelId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "questionTypeId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "activeOnly": {
            "type": "boolean",
            "nullable": true
          },
          "questionIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetQuestionResponseDto": {
        "type": "object",
        "properties": {
          "questionId": {
            "type": "integer",
            "format": "int32"
          },
          "questionLevelId": {
            "type": "integer",
            "format": "int32"
          },
          "questionLevel": {
            "type": "string",
            "nullable": true
          },
          "questionTypeId": {
            "type": "integer",
            "format": "int32"
          },
          "questionType": {
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          },
          "displaySequence": {
            "type": "integer",
            "format": "int32"
          },
          "questionText": {
            "type": "string",
            "nullable": true
          },
          "questionDescription": {
            "type": "string",
            "nullable": true
          },
          "flatTableColumnName": {
            "type": "string",
            "nullable": true
          },
          "editCount": {
            "type": "integer",
            "format": "int32"
          },
          "sortOrder": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "answers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetAnswersResponseDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StorageAccountConnectionInfoDto": {
        "type": "object",
        "properties": {
          "storageAccountName": {
            "type": "string",
            "nullable": true
          },
          "containerName": {
            "type": "string",
            "nullable": true
          },
          "queueName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostFormInputDto": {
        "type": "object",
        "properties": {
          "storageAccountConnectionInfo": {
            "allOf": [
              {
                "$ref": "#/components/schemas/StorageAccountConnectionInfoDto"
              }
            ],
            "nullable": true
          },
          "dbConnectionInfo": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DbConnectionInfoDto"
              }
            ],
            "nullable": true
          },
          "data": {
            "type": "object",
            "additionalProperties": false,
            "nullable": true
          }
        },
        "additionalProperties": false
      }
    }
  }
}

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:14 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
azaslonovcommented, Mar 18, 2020

Hi @bbakermmc, thanks for reporting the issue. We’ll fix that.

Looks like we’re missing allOf an oneOf cases when rendering the documentation.

        "dbConnectionInfo": {
            "allOf": [
                {
                    "$ref": "#/components/schemas/DbConnectionInfoDto"
                }
            ],
            "nullable": true
        },
1reaction
azaslonovcommented, Mar 20, 2020

Hi @LockTar, sorry for the delay, could not answer this question before, most likely it will be out by Apr 10 or earlier.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Mental Ray not rendering all objects in Maya
Solution: · Select the object that is not rendering · Open the Attribute Editor (CTRL + A) · Under the Shape Node tab,...
Read more >
Object visible in preview disappears when I render [duplicate]
Look at the camera icons on the outliner. When the camera icons are disabled, the object is disabled from rendering.
Read more >
c++ opengl when i render object it doesn't rendering [duplicate]
I'm writting opengl code on c++ and I create an own class of object. But for some reason it doesn't rendering. I think...
Read more >
Forest Pack (6.3 and above) not RENDERING on railclone ...
Forest Pack (6.3 and above) not RENDERING on railclone objects. ... but the problem persists with just plan boxes or billboards as well....
Read more >
Instanced children objects to parents are invisible in Cycles ...
OK. Maybe not so much a bug, more a change to adapt to the Collections = Groups scheme.... Open Blender and switch to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found