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
791ca662
Commit
791ca662
authored
May 22, 2018
by
Bernardo Lucas Almeida Sunderhus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[API] Conserta nome de resources para equivaler no modelo
parent
676c6c9d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
14 deletions
+23
-14
Subscription.yaml
Api/components/schemas/Subscription.yaml
+23
-14
No files found.
Api/components/schemas/Subscription.yaml
View file @
791ca662
SoloSubscription
Rule
:
$ref
:
'
#/Subscription
Rule
'
TeamSubscription
Rule
:
SoloSubscription
:
$ref
:
'
#/Subscription'
TeamSubscription
:
allOf
:
-
$ref
:
'
#/Subscription
Rule
'
-
$ref
:
'
#/Subscription'
-
type
:
object
properties
:
teamTemplate
:
...
...
@@ -11,7 +11,7 @@ TeamSubscriptionRule:
type
:
integer
maxMembers
:
type
:
integer
Subscription
Rule
:
Subscription
:
required
:
-
type
-
status
...
...
@@ -34,8 +34,8 @@ SubscriptionRule:
discriminator
:
propertyName
:
type
mapping
:
-
SOLO
:
'
#/SoloSubscription
Rule
'
-
TEAM
:
'
#/TeamSubscription
Rule
'
-
SOLO
:
'
#/SoloSubscription'
-
TEAM
:
'
#/TeamSubscription'
SubscriptionSubmission
:
required
:
-
status
...
...
@@ -69,20 +69,20 @@ SoloSubscriptionSubmission:
-
type
:
object
properties
:
participant
:
$ref
:
'
#/
Form
Section'
$ref
:
'
#/
ParticipantSubscription
Section'
TeamSubscriptionSubmission
:
allOf
:
-
$ref
:
'
#/SubscriptionSubmission'
-
type
:
object
properties
:
team
:
$ref
:
'
#/
Form
Section'
$ref
:
'
#/
TeamSubscription
Section'
participants
:
type
:
array
items
:
$ref
:
'
#/
Form
Section'
$ref
:
'
#/
ParticipantSubscription
Section'
leader
:
$ref
:
'
#/
Form
Section'
$ref
:
'
#/
ParticipantSubscription
Section'
FormTemplate
:
required
:
-
fields
...
...
@@ -146,9 +146,9 @@ FormAnswer:
type
:
string
oid
:
type
:
integer
Form
Section
:
title
:
Root Type for
Form
Section
description
:
The root of the
Form
Section type's schema.
Subscription
Section
:
title
:
Root Type for
Subscription
Section
description
:
The root of the
Subscription
Section type's schema.
required
:
-
answers
-
template
...
...
@@ -168,3 +168,12 @@ FormSection:
enum
:
-
TEAM
-
PARTICIPANT
TeamSubscriptionSection
:
type
:
object
allOf
:
-
$ref
:
'
#/SubscriptionSection'
ParticipantSubscriptionSection
:
type
:
object
allOf
:
-
$ref
:
'
#/SubscriptionSection'
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