|
54 | 54 | } |
55 | 55 | ] |
56 | 56 | }, |
57 | | - "folder": { "type": "string" }, |
58 | | - "gitRepoId": { "type": "string" }, |
59 | | - "packageVersion": { "type": "string" }, |
60 | | - "modelFolder": { "type": "string" }, |
61 | | - "apiFolder": { "type": "string" }, |
62 | | - "dockerImage": { "type": "string" }, |
| 57 | + "folder": { "type": "string", "description": "the output folder of your client, usually matching the github repository name, e.g. clients/algoliasearch-client-dart" }, |
| 58 | + "gitRepoId": { "type": "string", "description": "the github repository name, without the organization or username that owns it, e.g. algoliasearch-client-php"}, |
| 59 | + "packageVersion": { "type": "string", "description": "the version to publish the packages with, it must be semver compatible, e.g. 1.2.3" }, |
| 60 | + "modelFolder": { "type": "string", "description": "the models folder, e.g. algoliasearch/models"}, |
| 61 | + "apiFolder": { "type": "string", "description": "the api folder, e.g. lib/src"}, |
| 62 | + "dockerImage": { |
| 63 | + "type": "string", |
| 64 | + "description": "whether your client requires a custom docker image with specific needs, most clients require 'apic_base'", |
| 65 | + "enum": [ |
| 66 | + "apic_base", |
| 67 | + "apic_ruby", |
| 68 | + "apic_swift" |
| 69 | + ] |
| 70 | + }, |
63 | 71 | "tests": { |
64 | 72 | "type": "object", |
65 | 73 | "properties": { |
66 | | - "extension": { "type": "string" }, |
67 | | - "outputFolder": { "type": "string" } |
| 74 | + "extension": { "type": "string", "description": "the test file extension, e.g. .test.ts" }, |
| 75 | + "outputFolder": { "type": "string", "description": "the test output folder, e.g. src/generated" } |
68 | 76 | }, |
69 | 77 | "required": ["extension", "outputFolder"], |
70 | 78 | "additionalProperties": false |
71 | 79 | }, |
72 | 80 | "snippets": { |
73 | 81 | "type": "object", |
74 | 82 | "properties": { |
75 | | - "extension": { "type": "string" }, |
76 | | - "outputFolder": { "type": "string" } |
| 83 | + "extension": { "type": "string", "description": "the snippet file extension, e.g. .cs" }, |
| 84 | + "outputFolder": { "type": "string", "description": "the snippet output folder, e.g. src" } |
77 | 85 | }, |
78 | 86 | "required": ["extension", "outputFolder"], |
79 | 87 | "additionalProperties": false |
80 | 88 | }, |
81 | 89 | "supportedVersions": { |
82 | 90 | "type": "array", |
| 91 | + "description": "hints the CI on what matrix to generate for this client, this must be language specific versions, e.g. versions of node", |
83 | 92 | "items": { "type": "string" } |
84 | 93 | } |
85 | 94 | }, |
|
0 commit comments