Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
3 changed files
with
67 additions
and
3 deletions.
There are no files selected for viewing
Binary file not shown.
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
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 |
---|---|---|
@@ -0,0 +1,65 @@ | ||
openapi: 3.0.0 | ||
servers: | ||
# Added by API Auto Mocking Plugin | ||
- description: SwaggerHub API Auto Mocking | ||
url: https://virtserver.swaggerhub.com/TIER_API_and_Schema/BannerPerson/1.0.0 | ||
info: | ||
version: 1.0.0 | ||
title: SoM Banner Person API | ||
description: >- | ||
Full representation of the Banner Registry Person from TAP Person Schema with SoM extensions. | ||
security: | ||
- accessCode: | ||
- read | ||
- write | ||
paths: | ||
/example: | ||
get: | ||
summary: Get all banner person table entries | ||
description: This operation supports pagination | ||
parameters: | ||
- $ref: '#/components/parameters/offsetParam' | ||
- $ref: '#/components/parameters/limitParam' | ||
responses: | ||
'200': | ||
description: OK | ||
|
||
/ping: | ||
get: | ||
summary: Server heartbeat operation | ||
description: >- | ||
This operation shows how to override the global security defined above, | ||
as we want to open it up for all users. | ||
security: [] | ||
responses: | ||
'200': | ||
description: OK | ||
components: | ||
schemas: {} | ||
securitySchemes: | ||
accessCode: | ||
type: oauth2 | ||
flows: | ||
authorizationCode: | ||
authorizationUrl: 'http://example.com/oauth/auth' | ||
tokenUrl: 'http://example.com/oauth/token' | ||
scopes: | ||
write: allows modifying resources | ||
read: allows reading resources | ||
parameters: | ||
offsetParam: | ||
name: offset | ||
in: query | ||
description: "number of items to skip" | ||
required: true | ||
schema: | ||
type: integer | ||
format: int32 | ||
limitParam: | ||
name: limit | ||
in: query | ||
description: "max records to return" | ||
required: true | ||
schema: | ||
type: integer | ||
format: int32 |