feat: API specs update for version 1.9.x#55
Conversation
Greptile SummaryAdds a Confidence Score: 5/5Safe to merge — changes are additive, structurally correct, and only affect schema metadata used by code generators and validators. Both files receive identical, symmetric changes. The OpenAPI 3 discriminator usage follows the spec correctly (discriminator at the No files require special attention. Important Files Changed
Reviews (1): Last reviewed commit: "chore: update API specs and SDK examples" | Re-trigger Greptile |
| }, | ||
| "type": { | ||
| "type": "string", | ||
| "description": "Provider repository list type.", | ||
| "x-example": "framework" |
There was a problem hiding this comment.
type field missing enum constraint
The type discriminator field is defined as a plain string in both providerRepositoryFrameworkList and providerRepositoryRuntimeList, but the only valid values are "framework" and "runtime". Without an enum constraint, validators and code generators will accept any string, reducing the precision of the schema.
| }, | |
| "type": { | |
| "type": "string", | |
| "description": "Provider repository list type.", | |
| "x-example": "framework" | |
| "type": { | |
| "type": "string", | |
| "description": "Provider repository list type.", | |
| "enum": ["framework"], | |
| "x-example": "framework" | |
| } |
The same applies to providerRepositoryRuntimeList's type field ("enum": ["runtime"]).
This PR contains API specification updates for version 1.9.x.