Major and minor changes.

New headlines in yaml file. Reformating whoel yaml. Introduction of components/repsonses params. Some extensions in two MD files. New GET method for the end objects of a world link.

Merge request reports

Loading
+267 −111

File changed.

Preview size limit exceeded, changes collapsed.

+24 −11
Changes for README.md: 24 added lines, 11 removed lines.
Original line number Diff line number Diff line
@@ -97,24 +97,37 @@ Contains temporary office documents that are edited collaboratively and all othe

- Visual Studio
- Visual Studio Code
- Unity 3D
- Unity 3D (Version 2020.3 LTS)

# Branching Policy
Distributed version control systems like Git offers developers great flexibility to share and manage code. But a branching policy is crucial to collaborate more easily while keeping track of releases with bug fixes.
# Creating Server/Client Code

We consider 5 categories of branches:
- **develop**: collects the different features. While it is recommended that this branch be as stable as possible, each commit is not considered as a release, but much more as a pre-release.
- **feature**: dedicated to the development of features (named ***feature/*** *featureName*). These feature branches allow to share code among developers working on a common feature. When a feature is implemented, it must be tested before merging it to the develop branch with a pull request. When a feature branch is merged into develop, it must be suppress from the reposiory. It is recommended that the develop branch be merged into the feature branches on a regular basis to avoid any drift.
- **master**: corresponds to the last version of stable code. The develop branch is merged in the master branch when a release is ready. Bug fixes from release branches are also merged is the master branch when useful.
- **release**: dedicated to the releases. One branch per minor version release must be created (named ***release/*** *major_minor_patch*), and a tag must be set. When a bug is fixed on a release, it should be merge is the release branch. Then a new tag is created by increasing the patch digit of the release version.
- **bug**: dedicated to the bug fix of releases (named ***bug/*** *bugID*).
## Tool: openapi-generator

<img src="./doc/images/BranchingPolicy.png" alt="Branching strategy" width="1200"/>
We recommand the usage of the open source command-line tool **openapi-generator** while it has a good compatibility to API v3.x and produces accurate source code, similar to Swagger.

Find a description here: https://openapi-generator.tech/docs/usage/

Install the tool with "npm", see: https://openapi-generator.tech/docs/installation/

### Help

> npx @openapitools/openapi-generator-cli help

### Validating the api

> npx @openapitools/openapi-generator-cli validate -i API/openapi.yaml

### Example C++ Server (Pistache)

> npx @openapitools/openapi-generator-cli generate -i API/openapi.yaml  -g cpp-pistache-server -o ./CodeGeneration/sever/cpp/pistache

### Example ASP.NET Server (C#)

> npx @openapitools/openapi-generator-cli generate -i API/openapi.yaml -g aspnetcore -o ./CodeGeneration/server/aspnetcore

### Example C# Client

> npx @openapitools/openapi-generator-cli generate -i API/openapi.yaml  -g csharp -o ./CodeGeneration/client/csharp

# Branching Policy
Distributed version control systems like Git offers developers great flexibility to share and manage code. But a branching policy is crucial to collaborate more easily while keeping track of releases with bug fixes.
@@ -126,7 +139,7 @@ We consider 5 categories of branches:
- **release**: dedicated to the releases. One branch per minor version release must be created (named ***release/*** *major_minor_patch*), and a tag must be set. When a bug is fixed on a release, it should be merge is the release branch. Then a new tag is created by increasing the patch digit of the release version.
- **bug**: dedicated to the bug fix of releases (named ***bug/*** *bugID*).

<img src="doc/images/branchingPolicy.png" alt="Branching strategy" width="1200"/>
<img src="./doc/images/BranchingPolicy.png" alt="Branching strategy" width="1200"/>



Loading