-
-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
38 changed files
with
383 additions
and
739 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"openapi":"3.0.1","info":{"title":"OpenAPI definition","version":"v0"},"servers":[{"url":"http://localhost:8080","description":"Generated server url"}],"paths":{"/logout":{"put":{"tags":["logout","Gateway"],"operationId":"logout","responses":{"204":{"description":"No Content"}}}},"/backchannel_logout":{"post":{"tags":["back-channel-logout-controller"],"operationId":"backChannelLogout","responses":{"200":{"description":"OK"}}}},"/me":{"get":{"tags":["getMe","Gateway"],"operationId":"getMe","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDto"}}}}}}},"/login-options":{"get":{"tags":["Gateway","getLoginOptions"],"operationId":"getLoginOptions","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LoginOptionDto"}}}}}}}}},"components":{"schemas":{"UserDto":{"type":"object","properties":{"subject":{"type":"string"},"issuer":{"type":"string"},"roles":{"type":"array","items":{"type":"string"}}}},"LoginOptionDto":{"required":["label","loginUri"],"type":"object","properties":{"label":{"type":"string"},"loginUri":{"type":"string"}}}}}} | ||
{"openapi":"3.0.1","info":{"title":"OpenAPI definition","version":"v0"},"servers":[{"url":"http://localhost:8080","description":"Generated server url"}],"paths":{"/logout":{"put":{"tags":["logout","Gateway"],"operationId":"logout","responses":{"204":{"description":"No Content"}}}},"/login-options":{"get":{"tags":["Gateway","getLoginOptions"],"operationId":"getLoginOptions","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LoginOptionDto"}}}}}}}}},"components":{"schemas":{"LoginOptionDto":{"required":["label","loginUri"],"type":"object","properties":{"label":{"type":"string"},"loginUri":{"type":"string"}}}}}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"openapi":"3.0.1","info":{"title":"Users API","version":"1.0.0"},"servers":[{"url":"http://localhost:6443","description":"Generated server url"}],"security":[{"OAuth2":[]}],"paths":{"/greetings":{"get":{"tags":["get","Greetings"],"operationId":"getGreeting","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GreetingDto"}}}}}}}},"components":{"schemas":{"GreetingDto":{"required":["message"],"type":"object","properties":{"message":{"type":"string"}}}}}} | ||
{"openapi":"3.0.1","info":{"title":"Users API","version":"1.0.0"},"servers":[{"url":"http://localhost:7443","description":"Generated server url"}],"security":[{"OAuth2":[]}],"paths":{"/users/me":{"get":{"tags":["getMe","Users"],"operationId":"getMe","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserInfo"}}}}}}},"/greetings/public":{"get":{"tags":["getPublicGreeting","Greetings"],"operationId":"getGreeting","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GreetingDto"}}}}}}},"/greetings/nice":{"get":{"tags":["getNiceGreeting","Greetings"],"operationId":"getNiceGreeting","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GreetingDto"}}}}}}}},"components":{"schemas":{"UserInfo":{"required":["email","exp","iss","name","roles"],"type":"object","properties":{"name":{"type":"string"},"iss":{"type":"string"},"roles":{"type":"array","items":{"type":"string"}},"exp":{"minimum":0,"type":"integer","format":"int64"},"email":{"type":"string"}}},"GreetingDto":{"required":["message"],"type":"object","properties":{"message":{"type":"string"}}}}}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 0 additions & 5 deletions
5
samples/tutorials/bff/angular/projects/c4-soft/gateway-api/.openapi-generator/FILES
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,17 @@ | ||
README.md | ||
api.module.ts | ||
api/api.ts | ||
api/backChannelLogoutController.service.ts | ||
api/backChannelLogoutController.serviceInterface.ts | ||
api/gateway.service.ts | ||
api/gateway.serviceInterface.ts | ||
api/getLoginOptions.service.ts | ||
api/getLoginOptions.serviceInterface.ts | ||
api/getMe.service.ts | ||
api/getMe.serviceInterface.ts | ||
api/logout.service.ts | ||
api/logout.serviceInterface.ts | ||
configuration.ts | ||
encoder.ts | ||
index.ts | ||
model/loginOptionDto.ts | ||
model/models.ts | ||
model/userDto.ts | ||
package.json | ||
param.ts | ||
variables.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 9 additions & 2 deletions
11
samples/tutorials/bff/angular/projects/c4-soft/greetings-api/.openapi-generator/FILES
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,23 @@ | ||
README.md | ||
api.module.ts | ||
api/api.ts | ||
api/get.service.ts | ||
api/get.serviceInterface.ts | ||
api/getMe.service.ts | ||
api/getMe.serviceInterface.ts | ||
api/getNiceGreeting.service.ts | ||
api/getNiceGreeting.serviceInterface.ts | ||
api/getPublicGreeting.service.ts | ||
api/getPublicGreeting.serviceInterface.ts | ||
api/greetings.service.ts | ||
api/greetings.serviceInterface.ts | ||
api/users.service.ts | ||
api/users.serviceInterface.ts | ||
configuration.ts | ||
encoder.ts | ||
git_push.sh | ||
index.ts | ||
model/greetingDto.ts | ||
model/models.ts | ||
model/userInfo.ts | ||
package.json | ||
param.ts | ||
variables.ts |
17 changes: 13 additions & 4 deletions
17
samples/tutorials/bff/angular/projects/c4-soft/greetings-api/api/api.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,16 @@ | ||
export * from './get.service'; | ||
import { GetApi } from './get.service'; | ||
export * from './get.serviceInterface'; | ||
export * from './getMe.service'; | ||
import { GetMeApi } from './getMe.service'; | ||
export * from './getMe.serviceInterface'; | ||
export * from './getNiceGreeting.service'; | ||
import { GetNiceGreetingApi } from './getNiceGreeting.service'; | ||
export * from './getNiceGreeting.serviceInterface'; | ||
export * from './getPublicGreeting.service'; | ||
import { GetPublicGreetingApi } from './getPublicGreeting.service'; | ||
export * from './getPublicGreeting.serviceInterface'; | ||
export * from './greetings.service'; | ||
import { GreetingsApi } from './greetings.service'; | ||
export * from './greetings.serviceInterface'; | ||
export const APIS = [GetApi, GreetingsApi]; | ||
export * from './users.service'; | ||
import { UsersApi } from './users.service'; | ||
export * from './users.serviceInterface'; | ||
export const APIS = [GetMeApi, GetNiceGreetingApi, GetPublicGreetingApi, GreetingsApi, UsersApi]; |
150 changes: 0 additions & 150 deletions
150
samples/tutorials/bff/angular/projects/c4-soft/greetings-api/api/get.service.ts
This file was deleted.
Oops, something went wrong.
33 changes: 0 additions & 33 deletions
33
samples/tutorials/bff/angular/projects/c4-soft/greetings-api/api/get.serviceInterface.ts
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.