Skip to content

Commit

Permalink
feat: rework schema-form to use new GioJsonSchema Ui component
Browse files Browse the repository at this point in the history
  • Loading branch information
ThibaudAV committed Jul 11, 2024
1 parent 6fce3fb commit 4b887eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/main/resources/plugin.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ description=${project.description}
class=io.gravitee.resource.oauth2.generic.OAuth2GenericResource
type=resource
icon=oauth2.svg
category=OAuth2
6 changes: 2 additions & 4 deletions src/main/resources/schemas/schema-form.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"type" : "object",
"id" : "urn:jsonschema:io:gravitee:resource:oauth2:generic:configuration:OAuth2ResourceConfiguration",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties" : {
"authorizationServerUrl": {
"title": "Authorization server URL",
Expand Down Expand Up @@ -61,9 +61,7 @@
"title": "Client Secret",
"description": "The client secret used for token introspection.",
"type" : "string",
"x-schema-form": {
"type": "password"
}
"format": "password"
},
"useClientAuthorizationHeader": {
"title": "Use HTTP header for client authorization",
Expand Down

0 comments on commit 4b887eb

Please sign in to comment.