File tree Expand file tree Collapse file tree 5 files changed +4
-86
lines changed Expand file tree Collapse file tree 5 files changed +4
-86
lines changed Original file line number Diff line number Diff line change @@ -319,6 +319,7 @@ var _ = Service("project-service", func() {
319
319
320
320
Method ("readyz" , func () {
321
321
Description ("Check if the service is able to take inbound requests." )
322
+ Meta ("swagger:generate" , "false" )
322
323
Result (Bytes , func () {
323
324
Example ("OK" )
324
325
})
@@ -334,6 +335,7 @@ var _ = Service("project-service", func() {
334
335
335
336
Method ("livez" , func () {
336
337
Description ("Check if the service is alive." )
338
+ Meta ("swagger:generate" , "false" )
337
339
Result (Bytes , func () {
338
340
Example ("OK" )
339
341
})
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -65,23 +65,6 @@ paths:
65
65
type : file
66
66
schemes :
67
67
- http
68
- /livez :
69
- get :
70
- tags :
71
- - project-service
72
- summary : livez project-service
73
- description : Check if the service is alive.
74
- operationId : project-service#livez
75
- produces :
76
- - text/plain
77
- responses :
78
- " 200 " :
79
- description : OK response.
80
- schema :
81
- type : string
82
- format : byte
83
- schemes :
84
- - http
85
68
/projects :
86
69
get :
87
70
tags :
@@ -545,30 +528,6 @@ paths:
545
528
- http
546
529
security :
547
530
- jwt_header_Authorization : []
548
- /readyz :
549
- get :
550
- tags :
551
- - project-service
552
- summary : readyz project-service
553
- description : Check if the service is able to take inbound requests.
554
- operationId : project-service#readyz
555
- produces :
556
- - text/plain
557
- responses :
558
- " 200 " :
559
- description : OK response.
560
- schema :
561
- type : string
562
- format : byte
563
- " 503 " :
564
- description : Service Unavailable response.
565
- schema :
566
- $ref : ' #/definitions/ServiceUnavailableError'
567
- required :
568
- - code
569
- - message
570
- schemes :
571
- - http
572
531
definitions :
573
532
BadRequestError :
574
533
title : BadRequestError
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -43,23 +43,6 @@ paths:
43
43
responses :
44
44
" 200 " :
45
45
description : File downloaded
46
- /livez :
47
- get :
48
- tags :
49
- - project-service
50
- summary : livez project-service
51
- description : Check if the service is alive.
52
- operationId : project-service#livez
53
- responses :
54
- " 200 " :
55
- description : OK response.
56
- content :
57
- text/plain :
58
- schema :
59
- type : string
60
- example : OK
61
- format : binary
62
- example : OK
63
46
/projects :
64
47
get :
65
48
tags :
@@ -883,32 +866,6 @@ paths:
883
866
message : The service is unavailable.
884
867
security :
885
868
- jwt_header_Authorization : []
886
- /readyz :
887
- get :
888
- tags :
889
- - project-service
890
- summary : readyz project-service
891
- description : Check if the service is able to take inbound requests.
892
- operationId : project-service#readyz
893
- responses :
894
- " 200 " :
895
- description : OK response.
896
- content :
897
- text/plain :
898
- schema :
899
- type : string
900
- example : OK
901
- format : binary
902
- example : OK
903
- " 503 " :
904
- description : ' ServiceUnavailable: Service is unavailable'
905
- content :
906
- application/json :
907
- schema :
908
- $ref : ' #/components/schemas/ServiceUnavailableError'
909
- example :
910
- code : " 503"
911
- message : The service is unavailable.
912
869
components :
913
870
schemas :
914
871
BadRequestError :
You can’t perform that action at this time.
0 commit comments