Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PA165 - Airport - project
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ján Macháček
PA165 - Airport - project
Commits
dd789f33
There was an error fetching the commit references. Please try again later.
Unverified
Commit
dd789f33
authored
1 year ago
by
Matej Hrica
Browse files
Options
Downloads
Patches
Plain Diff
Fix not compiling authorization
parent
35d127ce
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
authorization/openapi.yaml
+21
-11
21 additions, 11 deletions
authorization/openapi.yaml
with
21 additions
and
11 deletions
authorization/openapi.yaml
+
21
−
11
View file @
dd789f33
...
@@ -103,12 +103,17 @@ components:
...
@@ -103,12 +103,17 @@ components:
type
:
object
type
:
object
title
:
User
title
:
User
description
:
Represents a system user.
description
:
Represents a system user.
required
:
-
login
-
firstName
-
lastName
-
email
-
role
properties
:
properties
:
login
:
login
:
type
:
string
type
:
string
description
:
name used for logging in
description
:
name used for logging in
example
:
john.doe
example
:
john.doe
required
:
true
firstName
:
firstName
:
type
:
string
type
:
string
description
:
first name of a the user
description
:
first name of a the user
...
@@ -122,39 +127,44 @@ components:
...
@@ -122,39 +127,44 @@ components:
description
:
email address of the user
description
:
email address of the user
example
:
john@example.com
example
:
john@example.com
role
:
role
:
enum
:
description
:
the role of the user
-
manager
type
:
string
-
superadmin
# FIXME: is this an openapi bug or just wrong syntax ? https://github.com/OpenAPITools/openapi-generator/issues/11323
#enum:
# - manager
# - admin
CreationUserDto
:
CreationUserDto
:
type
:
object
type
:
object
title
:
User
title
:
User
description
:
Represents a user.
description
:
Represents a user.
required
:
-
login
-
firstName
-
lastName
-
password
-
email
-
role
properties
:
properties
:
login
:
login
:
type
:
string
type
:
string
description
:
name used for logging in
description
:
name used for logging in
example
:
john.doe
example
:
john.doe
required
:
true
firstName
:
firstName
:
type
:
string
type
:
string
description
:
first name of a the user
description
:
first name of a the user
example
:
John
example
:
John
required
:
true
lastName
:
lastName
:
type
:
string
type
:
string
description
:
last name of a user
description
:
last name of a user
example
:
Doe
example
:
Doe
required
:
true
password
:
password
:
type
:
string
type
:
string
description
:
password of the user
description
:
password of the user
example
:
secretPassword
example
:
secretPassword
required
:
true
email
:
email
:
type
:
string
type
:
string
description
:
email address of the user
description
:
email address of the user
example
:
john@example.com
example
:
john@example.com
role
:
role
:
enum
:
type
:
string
-
manager
# TODO: enum
-
superadmin
\ No newline at end of file
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment