aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/api
diff options
context:
space:
mode:
authorStas Vilchik <stas.vilchik@sonarsource.com>2018-08-24 16:12:11 +0200
committerSonarTech <sonartech@sonarsource.com>2018-08-27 20:21:57 +0200
commite25be0c9d36d4f76387dd604144006e75d85eb1d (patch)
tree58ec415fde796b05059724b8c3d9c2e1fc28a323 /server/sonar-web/src/main/js/api
parent6be83fba1622cb8c41f9c1f537815ad801a16843 (diff)
downloadsonarqube-e25be0c9d36d4f76387dd604144006e75d85eb1d.tar.gz
sonarqube-e25be0c9d36d4f76387dd604144006e75d85eb1d.zip
SONAR-11128 Add parameter metadata on the Web API page
Diffstat (limited to 'server/sonar-web/src/main/js/api')
-rw-r--r--server/sonar-web/src/main/js/api/web-api.ts8
1 files changed, 6 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/api/web-api.ts b/server/sonar-web/src/main/js/api/web-api.ts
index dab190049a0..6c2cad03f29 100644
--- a/server/sonar-web/src/main/js/api/web-api.ts
+++ b/server/sonar-web/src/main/js/api/web-api.ts
@@ -26,15 +26,19 @@ export interface Changelog {
}
export interface Param {
- key: string;
defaultValue?: string;
- description: string;
deprecatedKey?: string;
deprecatedKeySince?: string;
deprecatedSince?: string;
+ description: string;
exampleValue?: string;
internal: boolean;
+ key: string;
+ maximumLength?: number;
+ maximumValue?: number;
maxValuesAllowed?: number;
+ minimumLength?: number;
+ minimumValue?: number;
possibleValues?: string[];
required: boolean;
since?: string;