-
Notifications
You must be signed in to change notification settings - Fork 1
/
react_catalog.yaml
116 lines (111 loc) · 2.67 KB
/
react_catalog.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
openapi: 3.0.0
info:
title: 'Oggetti di interfaccia per il catalogo REACT SOGEI'
description: 'Contiene gli oggetti di ritorno previsti dai vari componenti del catalogo react SOGEI'
version: '1.0.0'
servers:
- url: http://localhost:9080/anpr-api/jaxrs/anpr/service/result
description: Sample Development server
paths:
"/example/menu/${idMenu}":
get:
tags:
- menu
summary: Operazione di esempio di accesso ad un menù
parameters:
- name: idMenu
in: path
required: true
description: Id del menù
schema:
type: string
responses:
'200':
description: 'Success'
content:
application/json:
schema:
$ref: '#/components/schemas/Menu'
components:
schemas:
Menu:
properties:
id:
type: string
sectionTitle:
$ref: '#/components/schemas/MenuTitle'
items:
type: array
items:
$ref: '#/components/schemas/MenuItem'
MenuTitle:
properties:
id:
type: string
label:
type: string
MenuItem:
properties:
id:
type: string
label:
type: string
icon:
type: string
path:
type: string
exact:
type: string
subItems:
type: array
items:
$ref: '#/components/schemas/MenuItem'
RadioInput:
properties:
id:
type: string
example: "semplice"
label:
type: string
example: "semplice"
radioValue:
type: string
example: "semplice"
Checkbox:
properties:
id:
type: string
example: "ev"
name:
type: string
example: "di esistenza in vita"
value:
type: string
example: "di esistenza in vita"
dimension:
type: string
example: "sm"
label:
type: string
example: "di esistenza in vita"
extraProps:
$ref: '#/components/schemas/ExtraProps'
ExtraProps:
properties:
visible:
type: string
example: true
checked:
type: string
example: false
disabled:
type: string
example: false
SelectOption:
properties:
optionValue:
type: string
example: "1"
optionLabel:
type: string
example: "Intestatario"