Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
1 contributor

Users who have contributed to this file

65 lines (64 sloc) 1.64 KB
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