Advertisement
Guest User

base_issue_oasfiff

a guest
Feb 28th, 2023
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.63 KB | None | 0 0
  1. openapi: 3.0.1
  2. info:
  3.   title: Test API
  4.   description: APIs used to validate breaking changes scenarios.
  5.   license:
  6.     name: CC BY-NC-SA 3.0 US
  7.     url: https://creativecommons.org/licenses/by-nc-sa/3.0/us/
  8.   version: "2.0"
  9. tags:
  10. - name: Tests
  11.   description: Test tag.
  12. paths:
  13.   /api/atlas/v2/operationIdTest:
  14.     get:
  15.       tags:
  16.      - Tests
  17.       summary: This is a test
  18.       description: Test description.
  19.       operationId: getTest
  20.       responses:
  21.         "200":
  22.           description: OK
  23.           content:
  24.             application/vnd.atlas.2023-01-01+json:
  25.               x-xgen-version: 2023-01-01
  26.       security:
  27.       - DigestAuth: []
  28.       x-xgen-owner-team: apix
  29.   /api/atlas/v2/removeOutputFieldTest:
  30.     get:
  31.       tags:
  32.      - Tests
  33.       summary: This is a test
  34.       description: Test description.
  35.       operationId: getTest_1
  36.       responses:
  37.         "200":
  38.           description: OK
  39.           content:
  40.             application/vnd.atlas.2023-01-01+json:
  41.               schema:
  42.                 $ref: '#/components/schemas/TestApiView'
  43.               x-xgen-version: 2023-01-01
  44.       security:
  45.       - DigestAuth: []
  46.       x-xgen-owner-team: apix
  47. components:
  48.   schemas:
  49.     TestApiView:
  50.       required:
  51.      - id
  52.       - name
  53.       type: object
  54.       properties:
  55.         id:
  56.           type: string
  57.           description: Unique 24-hexadecimal digit string that identifies this team.
  58.           readOnly: true
  59.         name:
  60.           type: string
  61.           description: Human-readable label that identifies the team.
  62.   securitySchemes:
  63.     DigestAuth:
  64.       type: http
  65.       scheme: digest
  66.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement