Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Docs
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Registry
Registry
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Competify
Docs
Commits
2c1796b1
Commit
2c1796b1
authored
May 15, 2018
by
Gabriel Macena
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[API] Adiciona o modelo de TeamSubscriptionRule e SoloSubscriptionRule
parent
7674ffbe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
8 deletions
+25
-8
Subscription.yaml
Api/components/schemas/Subscription.yaml
+25
-8
No files found.
Api/components/schemas/Subscription.yaml
View file @
2c1796b1
SoloSubscriptionRule
:
$ref
:
'
#/SubscriptionRule'
TeamSubscriptionRule
:
allOf
:
-
$ref
:
'
#/SubscriptionRule'
-
type
:
object
properties
:
minMembers
:
type
:
integer
maxMembers
:
type
:
integer
SubscriptionRule
:
required
:
-
type
-
status
properties
:
type
:
description
:
'
{SOLO,
TEAM}'
type
:
integer
type
:
string
enum
:
-
SOLO
-
TEAM
status
:
description
:
'
{PREP,
OPEN,
CLOSED}'
type
:
integer
type
:
string
enum
:
-
PREP
-
OPEN
-
CLOSED
oid
:
type
:
integer
minMembers
:
type
:
integer
maxMembers
:
type
:
integer
discriminator
:
propertyName
:
type
mapping
:
-
SOLO
:
'
#/SoloSubscriptionRule'
-
TEAM
:
'
#/TeamSubscriptionRule'
Subscription
:
required
:
-
status
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment