-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathuser.yml
More file actions
39 lines (39 loc) · 946 Bytes
/
user.yml
File metadata and controls
39 lines (39 loc) · 946 Bytes
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
openapi: 3.0.0
servers:
- url: 'https://localhost:8081/server/services/rest'
description: Just some data
info:
title: devonfw Example
description: Example of a API definition
version: 1.0.0
x-rootpackage: com.devonfw.poc.jwtsample
paths:
/:
post:
responses:
'200':
description: Any
components:
schemas:
User:
x-component: usermanagement
description: Entity definiton of User
type: object
properties:
name:
type: string
maxLength: 100
uniqueItems: true
age:
type: integer
phone :
type: string
maxLength: 100
uniqueItems: true
email:
type: string
maxLength: 100
uniqueItems: true
required:
- name
- email