Skip to content
This repository was archived by the owner on Aug 28, 2019. It is now read-only.

Commit 6176354

Browse files
committed
Regenerated library to pick up latest schema changes
1 parent 2b8cfed commit 6176354

File tree

6 files changed

+30
-13
lines changed

6 files changed

+30
-13
lines changed

codegenerator/model/model-data.txt

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -372,11 +372,11 @@ Any Of = 'Item '0' =
372372
IsOutputSchema = 'false'
373373
SourceURL = ''
374374
Property 'scopes' =
375-
Description = 'List of scopes the client is authorized to access
375+
Description = 'List of scopes the client is authorized to access. Scopes must be
376+
composed of printable ASCII characters and spaces.
376377
'
377378
Items
378-
Description = 'Scope the client is authorized to access
379-
'
379+
Pattern = '^[ -~]*$'
380380
Type = 'string'
381381
TypeName = 'scopes'
382382
IsInputSchema = 'false'
@@ -436,6 +436,7 @@ Description = 'Response from a request to authenticate a hawk request
436436
ID = 'http://schemas.taskcluster.net/auth/v1/authenticate-hawk-response.json#'
437437
Schema = 'http://json-schema.org/draft-04/schema#'
438438
Title = 'Hawk Signature Authentication Response'
439+
Type = 'object'
439440
TypeName = 'Object'
440441
IsInputSchema = 'false'
441442
IsOutputSchema = 'true'
@@ -627,11 +628,13 @@ Properties
627628
IsOutputSchema = 'false'
628629
SourceURL = ''
629630
Property 'expandedScopes' =
630-
Description = 'List of scopes granted to this client by matching roles.
631+
Description = 'List of scopes granted to this client by matching roles. Scopes must be
632+
composed of printable ASCII characters and spaces.
631633
'
632634
Items
633635
Description = 'Scope that client is granted by a role
634636
'
637+
Pattern = '^[ -~]*$'
635638
Type = 'string'
636639
TypeName = 'expandedScopes'
637640
IsInputSchema = 'false'
@@ -708,11 +711,13 @@ Properties
708711
IsOutputSchema = 'false'
709712
SourceURL = ''
710713
Property 'scopes' =
711-
Description = 'List of scopes the role grants access to
714+
Description = 'List of scopes the role grants access to. Scopes must be composed of
715+
printable ASCII characters and spaces.
712716
'
713717
Items
714718
Description = 'Scope the role grants access to
715719
'
720+
Pattern = '^[ -~]*$'
716721
Type = 'string'
717722
TypeName = 'scopes'
718723
IsInputSchema = 'false'
@@ -790,11 +795,13 @@ Items
790795
IsOutputSchema = 'false'
791796
SourceURL = ''
792797
Property 'scopes' =
793-
Description = 'List of scopes the client is authorized to access
798+
Description = 'List of scopes the client is authorized to access. Scopes must be
799+
composed of printable ASCII characters and spaces.
794800
'
795801
Items
796802
Description = 'Scope the client is authorized to access
797803
'
804+
Pattern = '^[ -~]*$'
798805
Type = 'string'
799806
TypeName = 'scopes'
800807
IsInputSchema = 'false'
@@ -856,11 +863,13 @@ Properties
856863
IsOutputSchema = 'false'
857864
SourceURL = ''
858865
Property 'expandedScopes' =
859-
Description = 'List of scopes granted to this client by matching roles.
866+
Description = 'List of scopes granted to this client by matching roles. Scopes must be
867+
composed of printable ASCII characters and spaces.
860868
'
861869
Items
862870
Description = 'Scope that client is granted by a role
863871
'
872+
Pattern = '^[ -~]*$'
864873
Type = 'string'
865874
TypeName = 'expandedScopes'
866875
IsInputSchema = 'false'
@@ -953,6 +962,7 @@ Properties
953962
Items
954963
Description = 'Scope this role grants
955964
'
965+
Pattern = '^[ -~]*$'
956966
Type = 'string'
957967
TypeName = 'expandedScopes'
958968
IsInputSchema = 'false'
@@ -981,11 +991,13 @@ Properties
981991
IsOutputSchema = 'false'
982992
SourceURL = ''
983993
Property 'scopes' =
984-
Description = 'List of scopes the role grants access to
994+
Description = 'List of scopes the role grants access to. Scopes must be composed of
995+
printable ASCII characters and spaces.
985996
'
986997
Items
987998
Description = 'Scope the role grants access to
988999
'
1000+
Pattern = '^[ -~]*$'
9891001
Type = 'string'
9901002
TypeName = 'scopes'
9911003
IsInputSchema = 'false'

src/main/java/org/mozilla/taskcluster/client/auth/CreateClientResponse.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ public class CreateClientResponse {
3232
public String description;
3333

3434
/**
35-
* List of scopes granted to this client by matching roles.
35+
* List of scopes granted to this client by matching roles. Scopes must be
36+
* composed of printable ASCII characters and spaces.
3637
*/
3738
public String[] expandedScopes;
3839

src/main/java/org/mozilla/taskcluster/client/auth/CreateRoleRequest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ public class CreateRoleRequest {
1414
public String description;
1515

1616
/**
17-
* List of scopes the role grants access to
17+
* List of scopes the role grants access to. Scopes must be composed of
18+
* printable ASCII characters and spaces.
1819
*/
1920
public String[] scopes;
2021
}

src/main/java/org/mozilla/taskcluster/client/auth/ExportedClients.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ public class ExportedClients {
3838
public String name;
3939

4040
/**
41-
* List of scopes the client is authorized to access
41+
* List of scopes the client is authorized to access. Scopes must be
42+
* composed of printable ASCII characters and spaces.
4243
*/
4344
public String[] scopes;
4445
}

src/main/java/org/mozilla/taskcluster/client/auth/GetClientResponse.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ public class GetClientResponse {
2626
public String description;
2727

2828
/**
29-
* List of scopes granted to this client by matching roles.
29+
* List of scopes granted to this client by matching roles. Scopes must be
30+
* composed of printable ASCII characters and spaces.
3031
*/
3132
public String[] expandedScopes;
3233

src/main/java/org/mozilla/taskcluster/client/auth/GetRoleResponse.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ public class GetRoleResponse {
3838
public String roleId;
3939

4040
/**
41-
* List of scopes the role grants access to
41+
* List of scopes the role grants access to. Scopes must be composed of
42+
* printable ASCII characters and spaces.
4243
*/
4344
public String[] scopes;
4445
}

0 commit comments

Comments
 (0)