File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626
2727 - uses : ruby/setup-ruby@v1
2828 with :
29- ruby-version-file : " .tool-versions"
3029 bundler-cache : true
3130
3231 - name : Run RuboCop
5352
5453 - uses : ruby/setup-ruby@v1
5554 with :
56- ruby-version-file : " .tool-versions"
5755 bundler-cache : true
5856
5957 - name : Setup Node.js for OpenAPI lint tooling
@@ -122,7 +120,6 @@ jobs:
122120
123121 - uses : ruby/setup-ruby@v1
124122 with :
125- ruby-version-file : " .tool-versions"
126123 bundler-cache : true
127124
128125 - name : Setup Node.js for Docker smoke test
Original file line number Diff line number Diff line change 2020 get :
2121 description : API metadata
2222 operationId : getApiMetadata
23+ parameters : []
2324 responses :
2425 ' 200 ' :
2526 content :
6667 - success
6768 - data
6869 type : object
69- description : returns instance feed-creation capability
70+ description : returns API information with trailing slash
7071 security : []
7172 summary : API metadata
7273 tags :
@@ -110,6 +111,8 @@ paths:
110111 type : string
111112 id :
112113 type : string
114+ json_public_url :
115+ type : string
113116 name :
114117 type : string
115118 public_url :
@@ -127,6 +130,7 @@ paths:
127130 - strategy
128131 - feed_token
129132 - public_url
133+ - json_public_url
130134 - created_at
131135 - updated_at
132136 type : object
@@ -317,7 +321,8 @@ paths:
317321 - success
318322 - data
319323 type : object
320- description : returns health status when token is valid
324+ description : returns health status when the configured environment token
325+ is valid
321326 ' 401 ' :
322327 content :
323328 application/json :
Original file line number Diff line number Diff line change 1212 "format:check" : " prettier --check ." ,
1313 "typecheck" : " tsc -p tsconfig.typecheck.json --noEmit" ,
1414 "openapi:generate" : " openapi-ts -i ../docs/api/v1/openapi.yaml -o src/api/generated -c @hey-api/client-fetch" ,
15- "openapi:verify" : " npm run openapi:generate && git diff --exit-code -- src/api/generated" ,
15+ "openapi:verify" : " openapi-ts -i ../docs/api/v1/ openapi.yaml -o src/api/generated -c @hey-api/client-fetch && git diff --exit-code -- src/api/generated" ,
1616 "test" : " vitest" ,
1717 "test:run" : " vitest run" ,
1818 "test:unit" : " vitest run --reporter=verbose --config vitest.unit.config.ts" ,
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ export type GetApiMetadataData = {
1313
1414export type GetApiMetadataResponses = {
1515 /**
16- * returns instance feed-creation capability
16+ * returns API information with trailing slash
1717 */
1818 200 : {
1919 data : {
@@ -172,7 +172,7 @@ export type GetHealthStatusError = GetHealthStatusErrors[keyof GetHealthStatusEr
172172
173173export type GetHealthStatusResponses = {
174174 /**
175- * returns health status when token is valid
175+ * returns health status when the configured environment token is valid
176176 */
177177 200 : {
178178 data : {
Original file line number Diff line number Diff line change 1313
1414 track_files '**/*.rb'
1515
16- minimum_coverage 80
16+ minimum_coverage 80 unless ENV [ 'OPENAPI' ]
1717 maximum_coverage_drop 5
1818 end
1919end
You can’t perform that action at this time.
0 commit comments