diff --git a/asm/openapi.yaml b/asm/openapi.yaml index 3673084..3a1e8ef 100644 --- a/asm/openapi.yaml +++ b/asm/openapi.yaml @@ -691,8 +691,7 @@ components: readOnly: true example: scn_a1b2c3d4e5f60001 label: - type: string - nullable: true + type: [string, 'null'] status: $ref: '#/components/schemas/ScanStatus' scan_type: @@ -707,14 +706,12 @@ components: format: date-time readOnly: true started_at: - type: string + type: [string, 'null'] format: date-time - nullable: true readOnly: true completed_at: - type: string + type: [string, 'null'] format: date-time - nullable: true readOnly: true ScanDetail: @@ -746,8 +743,7 @@ components: informational: type: integer error_message: - type: string - nullable: true + type: [string, 'null'] description: Set when status is `failed` # ── Vulnerabilities ──────────────────────────────────────────────────────── @@ -770,11 +766,10 @@ components: status: $ref: '#/components/schemas/VulnStatus' cvss_score: - type: number + type: [number, 'null'] format: float minimum: 0 maximum: 10 - nullable: true example: 10.0 cve_ids: type: array