Difference between revisions of "Swagger Editor and Gitlab"

From ETSI Forge
Jump to: navigation, search
Line 5: Line 5:
 
[https://forge.etsi.org/swagger/editor-versions/v2.10.4-1 <big>'''--->  Click here <---'''</big>]
 
[https://forge.etsi.org/swagger/editor-versions/v2.10.4-1 <big>'''--->  Click here <---'''</big>]
  
== 1. Log in with Gitlab ==
+
== Usage ==
* Click File -> Log into Gitlab
 
* Click Log into Gitlab in the model
 
You will be redirected to Gitlab login or, if you have already accessed, the page will simply reload.
 
  
== 2. Import a YAML/JSON file from a project ==
+
=== 1. Log in with Gitlab ===
* Click File -> Import from Gitlab
+
* <big>Click File -> Log into Gitlab</big>
* You will need to select a project (among the ones you have access to)
+
* <big>Click Log into Gitlab in the model</big>
** If the list is empty please wait a few seconds or close the box and re-open it
+
<big>You will be redirected to Gitlab login or, if you have already accessed, the page will simply reload.</big>
* Select the branch (this branch will be used for the commit operation as well!)
 
*
 
  
== 3. Save the file in the repository ==  
+
=== 2. Import a YAML/JSON file from a project ===
 +
* <big>Click File -> Import from Gitlab</big>
 +
* <big>You will need to select a project (among the ones you have access to)</big>
 +
** <big>If the list is empty please wait a few seconds or close the box and re-open it</big>
 +
* <big>Select the branch (this branch will be used for the commit operation as well!)</big>
  
== 4. Log out of Gitlab ==
+
=== 3. Save the file in the repository ===
 +
* Click File -> Submit to Gitlab
 +
* Insert a description for your change. It will be used as Commit Message in the repository.
 +
That's all!
 +
 
 +
=== 4. Log out of Gitlab ===
 +
* Click File -> Log out from Gitlab

Revision as of 18:24, 5 November 2018

Warning:
this tool is in Alpha version.

Try it yourself

---> Click here <---

Usage

1. Log in with Gitlab

  • Click File -> Log into Gitlab
  • Click Log into Gitlab in the model

You will be redirected to Gitlab login or, if you have already accessed, the page will simply reload.

2. Import a YAML/JSON file from a project

  • Click File -> Import from Gitlab
  • You will need to select a project (among the ones you have access to)
    • If the list is empty please wait a few seconds or close the box and re-open it
  • Select the branch (this branch will be used for the commit operation as well!)

3. Save the file in the repository

  • Click File -> Submit to Gitlab
  • Insert a description for your change. It will be used as Commit Message in the repository.

That's all!

4. Log out of Gitlab

  • Click File -> Log out from Gitlab