github.com/thetreep/go-swagger@v0.0.0-20240223100711-35af64f14f01/fixtures/bugs/1617/fixture-1617.yaml (about) 1 swagger: '2.0' 2 info: 3 title: aaa 4 version: 0.0.1 5 description: >- 6 host: 'localhost:8088' 7 basePath: / 8 schemes: 9 - http 10 paths: 11 /: 12 get: 13 summary: tbd 14 operationId: tbd 15 description: tbd 16 responses: 17 '204': 18 description: 204 No Content 19 '500': 20 $ref: '#/responses/InternalServer' 21 responses: 22 InternalServer: 23 description: 500 Internal Server error 24 schema: 25 $ref: '#/definitions/ErrResponse' 26 definitions: 27 JobID: 28 type: integer 29 format: uint64 30 ArtifactType: 31 type: string 32 enum: 33 - IMAGE 34 - RESULT 35 - TEST 36 - YAML 37 ArtifactPath: 38 type: string 39 ArtifactStatus: 40 type: string 41 enum: 42 - DOWNLOADING 43 - READY 44 - FAILED 45 - PENDING 46 ArtifactURI: 47 type: string 48 format: uri 49 ArtifactAlias: 50 type: string 51 ArtifactDescription: 52 type: object 53 properties: 54 JobID: 55 $ref: '#/definitions/JobID' 56 Type: 57 $ref: '#/definitions/ArtifactType' 58 Alias: 59 $ref: '#/definitions/ArtifactAlias' 60 URI: 61 $ref: '#/definitions/ArtifactURI' 62 ArtifactInfo: 63 type: object 64 allOf: 65 - $ref: '#/definitions/ArtifactDescription' 66 properties: 67 Path: 68 $ref: '#/definitions/ArtifactPath' 69 Status: 70 $ref: '#/definitions/ArtifactStatus' 71 Timestamp: 72 type: string 73 format: date-time 74 ErrResponse: 75 type: object 76 properties: 77 type: 78 type: string 79 message: 80 type: string