Skip to content

Commit c7feb3c

Browse files
committed
chore: sync audit API definition
Align the API definition of "/audit" endpoint with the expected result: https://github.com/wordlift/ai-audit/blob/main/server/auditService.js#L188-L249
1 parent c81d876 commit c7feb3c

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

api/audit.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ components:
205205
properties:
206206
status:
207207
type: string
208-
enum: [Excellent, Good, Needs Improvement, Poor, Not Applicable]
208+
enum: [Good, Needs Improvement, Poor]
209209
description: Overall status of site files
210210
explanation:
211211
type: string
@@ -223,20 +223,20 @@ components:
223223
properties:
224224
gptbot:
225225
type: string
226-
enum: [allowed, disallowed, not_specified]
226+
enum: [allowed, blocked, not_specified]
227227
claude:
228228
type: string
229-
enum: [allowed, disallowed, not_specified]
229+
enum: [allowed, blocked, not_specified]
230230
googlebot:
231231
type: string
232-
enum: [allowed, disallowed, not_specified]
232+
enum: [allowed, blocked, not_specified]
233233

234234
SeoFundamentals:
235235
type: object
236236
properties:
237237
status:
238238
type: string
239-
enum: [Excellent, Good, Needs Improvement, Poor, Not Applicable]
239+
enum: [Good, Needs Improvement, Poor]
240240
explanation:
241241
type: string
242242
title:
@@ -256,7 +256,7 @@ components:
256256
properties:
257257
status:
258258
type: string
259-
enum: [Excellent, Good, Needs Improvement, Poor, Not Applicable]
259+
enum: [Good, Needs Improvement, Poor]
260260
explanation:
261261
type: string
262262
hasSchema:
@@ -276,7 +276,7 @@ components:
276276
properties:
277277
status:
278278
type: string
279-
enum: [Excellent, Good, Needs Improvement, Poor, Not Applicable]
279+
enum: [Good, Needs Improvement, Poor]
280280
explanation:
281281
type: string
282282
semanticHtmlScore:
@@ -290,7 +290,7 @@ components:
290290
properties:
291291
status:
292292
type: string
293-
enum: [Excellent, Good, Needs Improvement, Poor, Not Applicable]
293+
enum: [Good, Needs Improvement, Poor]
294294
explanation:
295295
type: string
296296
missingAltPercentage:
@@ -310,7 +310,7 @@ components:
310310
properties:
311311
status:
312312
type: string
313-
enum: [Excellent, Good, Needs Improvement, Poor, Not Applicable]
313+
enum: [Good, Needs Improvement, Poor]
314314
explanation:
315315
type: string
316316
issues:
@@ -324,19 +324,19 @@ components:
324324
properties:
325325
status:
326326
type: string
327-
enum: [Excellent, Good, Needs Improvement, Poor, Not Applicable]
327+
enum: [Good, Needs Improvement, Poor]
328328
explanation:
329329
type: string
330330
frameworkDetected:
331331
type: string
332332
description: Detected JavaScript framework (React, Vue, Angular, etc.)
333333
renderingType:
334334
type: string
335-
enum: [Static, SSR, CSR, Hybrid]
335+
enum: [Static, SSR, SSG, CSR, Hybrid]
336336
description: Type of rendering used by the site
337337
aiAccessibility:
338338
type: string
339-
enum: [Excellent, Good, Fair, Poor]
339+
enum: [Excellent, Good, Limited, Blocked]
340340
description: How accessible the content is to AI agents
341341
contentAvailability:
342342
type: string

0 commit comments

Comments
 (0)