stable

Clone or download

Read-only

Add information about which OAuth2 scope can be used with a REST endpoint

The information can now be seen in the API Explorer. Part of story #14714: be an OpenID Connect provider Change-Id: Ibd7dd0ad1057061f3faa14a8cc051a4ad9c57cbe

Modified Files

Name
M plugins/api_explorer/include/Specification/Swagger/SwaggerJson.php +15 −5 Go to diff View file
M plugins/api_explorer/include/Specification/Swagger/SwaggerJsonController.php +21 −2 Go to diff View file
M plugins/api_explorer/include/Specification/Swagger/SwaggerJsonPathsAndDefinitions.php +29 −3 Go to diff View file
M plugins/api_explorer/include/api_explorerPlugin.php +4 −1 Go to diff View file
M plugins/api_explorer/phpunit/Specification/Swagger/SwaggerJsonControllerTest.php +15 −0 Go to diff View file
M plugins/api_explorer/phpunit/Specification/Swagger/SwaggerJsonDemoResource.php +2 −0 Go to diff View file
M plugins/api_explorer/phpunit/Specification/Swagger/_fixtures/swagger.json +6 −2 Go to diff View file
A plugins/oauth2_server/include/REST/Specification/Swagger/SwaggerJsonOAuth2SecurityDefinition.php +77 −0 Go to diff View file
M plugins/oauth2_server/include/oauth2_serverPlugin.php +15 −0 Go to diff View file
A plugins/oauth2_server/phpunit/REST/Specification/Swagger/SwaggerJsonOAuth2SecurityDefinitionTest.php +60 −0 Go to diff View file
R plugins/api_explorer/include/Specification/Swagger/SwaggerJsonAPIAccessKey.php Go to diff View file
A src/common/REST/Specification/Swagger/SwaggerJsonSecurityDefinition.php +27 −0 Go to diff View file
A src/common/REST/Specification/Swagger/SwaggerJsonSecurityDefinitionsCollection.php +60 −0 Go to diff View file
A tests/phpunit/common/REST/Specification/Swagger/SwaggerJsonSecurityDefinitionsCollectionTest.php +45 −0 Go to diff View file