Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • A api-tests
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 7
    • Issues 7
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 17
    • Merge requests 17
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • NFV - Network Functions VirtualisationNFV - Network Functions Virtualisation
  • api-tests
  • Issues
  • #61
Closed
Open
Issue created Apr 17, 2019 by Elian Kraja@krajaMaintainer

[GENERIC] Schema jsons (IN SOL005) should not contain referenced elements

Json schemas in all SOL005 should not contain $ref elements
current:

"_links": {
  "description": "Links to resources related to this notification.\n",
  "$ref": "#/definitions/LccnLinks"
}  

Should be

{
  "description": "Links to resources related to this resource.\n",
  "type": "object",
  "required": [
    "self",
    "nsInstance"
  ],
  "properties": {
    "self": {
      "description": "This type represents a link to a resource.\n",
      "type": "object",
      "required": [
        "href"
      ],
      "properties": {
        "href": {
          "description": "URI of the referenced resource.\n",
          "type": "string",
          "format": "url"
        }
      }
    },
    "nsInstance": {
      "description": "This type represents a link to a resource.\n",
      "type": "object",
      "required": [
        "href"
      ],
      "properties": {
        "href": {
          "description": "URI of the referenced resource.\n",
          "type": "string",
          "format": "url"
        }
      }
    },
    "cancel": {
      "description": "This type represents a link to a resource.\n",
      "type": "object",
      "required": [
        "href"
      ],
      "properties": {
        "href": {
          "description": "URI of the referenced resource.\n",
          "type": "string",
          "format": "url"
        }
      }
    },
    "retry": {
      "description": "This type represents a link to a resource.\n",
      "type": "object",
      "required": [
        "href"
      ],
      "properties": {
        "href": {
          "description": "URI of the referenced resource.\n",
          "type": "string",
          "format": "url"
        }
      }
    },
    "rollback": {
      "description": "This type represents a link to a resource.\n",
      "type": "object",
      "required": [
        "href"
      ],
      "properties": {
        "href": {
          "description": "URI of the referenced resource.\n",
          "type": "string",
          "format": "url"
        }
      }
    },
    "continue": {
      "description": "This type represents a link to a resource.\n",
      "type": "object",
      "required": [
        "href"
      ],
      "properties": {
        "href": {
          "description": "URI of the referenced resource.\n",
          "type": "string",
          "format": "url"
        }
      }
    },
    "fail": {
      "description": "This type represents a link to a resource.\n",
      "type": "object",
      "required": [
        "href"
      ],
      "properties": {
        "href": {
          "description": "URI of the referenced resource.\n",
          "type": "string",
          "format": "url"
        }
      }
    }
  }
}
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking