Skip to content

Commit c653c12

Browse files
committed
chore(models): new spec
1 parent 476d60c commit c653c12

File tree

1 file changed

+64
-0
lines changed

1 file changed

+64
-0
lines changed

demo/W-11843862/W-11843862.yaml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
openapi: 3.0.0
2+
info:
3+
title: eMPF API Specification - Contribution Module
4+
description: eMPF API Specification - Contribution Module
5+
version: 0.1.0
6+
paths:
7+
/cas/ad/contribution/external/v1/bill/list:
8+
get:
9+
tags:
10+
- ER-Portal-API
11+
summary: CON-PERIOD-BILLABLE CON - Retrieve period bill
12+
description: |
13+
**API ID:** CON-PERIOD-BILLABLE \
14+
**CM:** CM-Web-Employer-Contribution A1, A2, A3, A4, B1, B2, B3, B4 \
15+
**FS:** FS-UF-CON-REE-009,FS-UF-CON-CEE-001 \
16+
CON - Retrieve period bill
17+
parameters:
18+
- $ref: '#/components/parameters/x-empf-apiclient-id'
19+
responses:
20+
'200':
21+
description: successfully
22+
content:
23+
application/json:
24+
schema:
25+
$ref: '#/components/schemas/periodBillableResponse'
26+
security:
27+
- bearerAuth: []
28+
29+
components:
30+
parameters:
31+
x-empf-apiclient-id:
32+
in: header
33+
name: x-empf-apiclient-id
34+
description: value should be an integer starting from 1 representing the identity of the API client, 1 for ER Portal, 2 for ER Mobile App, 3 for EE Portal, 4 for EE Mobile App, 5 for admin, 6 for trustee, 7 for mpfa, 8 for kiosk
35+
schema:
36+
type: integer
37+
enum:
38+
- 1
39+
- 2
40+
- 3
41+
- 4
42+
- 5
43+
- 6
44+
- 7
45+
required: true
46+
47+
schemas:
48+
GlobalSuccessResponse:
49+
type: object
50+
properties:
51+
success:
52+
type: boolean
53+
description: The flag indicates there is no bussiness error occurred in the request
54+
code:
55+
type: integer
56+
example: '200'
57+
periodBillableResponse:
58+
allOf:
59+
- $ref: '#/components/schemas/GlobalSuccessResponse'
60+
securitySchemes:
61+
bearerAuth:
62+
type: http
63+
scheme: bearer
64+
bearerFormat: JWT

0 commit comments

Comments
 (0)