File tree 2 files changed +22
-0
lines changed
2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -46,12 +46,23 @@ jobs:
46
46
shell : bash
47
47
run : |
48
48
dotnet restore
49
+
50
+ - name : Install SwashBuckle Cli
51
+ shell : bash
52
+ run : |
53
+ dotnet new tool-manifest
54
+ dotnet tool install SwashBuckle.AspNetCore.Cli
49
55
50
56
- name : Build solution
51
57
shell : bash
52
58
run : |
53
59
dotnet build
54
60
61
+ - name : OpenAPI linting
62
+ shell : bash
63
+ run : |
64
+ spectral lint openapi.json
65
+
55
66
- name : Test solution
56
67
shell : bash
57
68
run : |
Original file line number Diff line number Diff line change @@ -62,11 +62,22 @@ jobs:
62
62
run : |
63
63
dotnet restore
64
64
65
+ - name : Install SwashBuckle Cli
66
+ shell : bash
67
+ run : |
68
+ dotnet new tool-manifest
69
+ dotnet tool install SwashBuckle.AspNetCore.Cli
70
+
65
71
- name : Build solution
66
72
shell : bash
67
73
run : |
68
74
dotnet build
69
75
76
+ - name : OpenAPI linting
77
+ shell : bash
78
+ run : |
79
+ spectral lint openapi.json
80
+
70
81
- name : Test solution
71
82
shell : bash
72
83
run : |
You can’t perform that action at this time.
0 commit comments