[php-symfony] Add backslash to "load" namespaces from global namespace (#9740)

* Add backslash to load namespace from global namespace

* Update example

* Remove hardcoded slash

* Add backslash from java side

* Update samples

* Fix first sample

* Fix other snapshot

* Update version file
This commit is contained in:
Sem Schilder
2021-08-03 11:09:52 +02:00
committed by GitHub
parent c28c1253a4
commit 4210b41f84
13 changed files with 542 additions and 102 deletions

View File

@@ -130,16 +130,6 @@ public class ApiClient {
return objectMapper;
}
private RequestInterceptor buildOauthRequestInterceptor(OAuthFlow flow, String authorizationUrl, String tokenUrl, String scopes) {
switch (flow) {
case password:
return new OauthPasswordGrant(tokenUrl, scopes);
case application:
return new OauthClientCredentialsGrant(authorizationUrl, tokenUrl, scopes);
default:
throw new RuntimeException("Oauth flow \"" + flow + "\" is not implemented");
}
}
public ObjectMapper getObjectMapper(){
return objectMapper;