Skip to content
Permalink
Browse files

Set version to 4.0.1-SNAPSHOT (#2882)

  • Loading branch information...
wing328 authored and jmini committed May 14, 2019
1 parent 3744273 commit cbe39ba881c42a3d70a36397c2ee504e9dfb5ca9
Showing 763 changed files with 780 additions and 782 deletions.
@@ -2,7 +2,7 @@

- [ ] Read the [contribution guidelines](https://github.com/openapitools/openapi-generator/blob/master/CONTRIBUTING.md).
- [ ] Ran the shell script under `./bin/` to update Petstore sample so that CIs can verify the change. (For instance, only need to run `./bin/{LANG}-petstore.sh`, `./bin/openapi3/{LANG}-petstore.sh` if updating the {LANG} (e.g. php, ruby, python, etc) code generator or {LANG} client's mustache templates). Windows batch files can be found in `.\bin\windows\`. If contributing template-only or documentation-only changes which will change sample output, be sure to [build the project](https://github.com/OpenAPITools/openapi-generator#14---build-projects) first.
- [ ] Filed the PR against the [correct branch](https://github.com/OpenAPITools/openapi-generator/wiki/Git-Branches): `master`~~, `3.4.x`, `4.0.x`~~. Default: `master`.
- [ ] Filed the PR against the [correct branch](https://github.com/OpenAPITools/openapi-generator/wiki/Git-Branches): `master`, `4.1.x`, `5.0.x`. Default: `master`.
- [ ] Copied the [technical committee](https://github.com/openapitools/openapi-generator/#62---openapi-generator-technical-committee) to review the pull request if your PR is targeting a particular programming language.

### Description of the PR
@@ -7,6 +7,15 @@
[![Run Status](https://api.shippable.com/projects/5af6bf74e790f4070084a115/badge?branch=master)](https://app.shippable.com/github/OpenAPITools/openapi-generator)
[![Windows Test](https://ci.appveyor.com/api/projects/status/github/openapitools/openapi-generator?branch=master&svg=true&passingText=Windows%20Test%20-%20OK&failingText=Windows%20Test%20-%20Fails)](https://ci.appveyor.com/project/WilliamCheng/openapi-generator-wh2wu)

[`4.1.x`](https://github.com/OpenAPITools/openapi-generator/tree/4.0.x) branch: [![Build Status](https://img.shields.io/travis/OpenAPITools/openapi-generator/4.0.x.svg?label=Integration%20Test)](https://travis-ci.org/OpenAPITools/openapi-generator)
[![Integration Test2](https://circleci.com/gh/OpenAPITools/openapi-generator/tree/4.0.x.svg?style=shield)](https://circleci.com/gh/OpenAPITools/openapi-generator)
[![Run Status](https://api.shippable.com/projects/5af6bf74e790f4070084a115/badge?branch=4.0.x)](https://app.shippable.com/github/OpenAPITools/openapi-generator)
[![Windows Test](https://ci.appveyor.com/api/projects/status/github/openapitools/openapi-generator?branch=4.0.x&svg=true&passingText=Windows%20Test%20-%20OK&failingText=Windows%20Test%20-%20Fails)](https://ci.appveyor.com/project/WilliamCheng/openapi-generator-wh2wu)

[`5.0.x`](https://github.com/OpenAPITools/openapi-generator/tree/5.0.x) branch: [![Build Status](https://img.shields.io/travis/OpenAPITools/openapi-generator/5.0.x.svg?label=Integration%20Test)](https://travis-ci.org/OpenAPITools/openapi-generator)
[![Integration Test2](https://circleci.com/gh/OpenAPITools/openapi-generator/tree/5.0.x.svg?style=shield)](https://circleci.com/gh/OpenAPITools/openapi-generator)
[![Run Status](https://api.shippable.com/projects/5af6bf74e790f4070084a115/badge?branch=5.0.x)](https://app.shippable.com/github/OpenAPITools/openapi-generator)
[![Windows Test](https://ci.appveyor.com/api/projects/status/github/openapitools/openapi-generator?branch=5.0.x&svg=true&passingText=Windows%20Test%20-%20OK&failingText=Windows%20Test%20-%20Fails)](https://ci.appveyor.com/project/WilliamCheng/openapi-generator-wh2wu)
</div>

<div align="center">
@@ -88,6 +97,9 @@ The OpenAPI Specification has undergone 3 revisions since initial creation in 20

OpenAPI Generator Version | Release Date | Notes
---------------------------- | ------------ | -----
5.0.0 (upcoming major release) [SNAPSHOT](https://oss.sonatype.org/content/repositories/snapshots/org/openapitools/openapi-generator-cli/5.0.0-SNAPSHOT/)| 13.05.2019 | Major release with breaking changes (no fallback)
4.1.0 (upcoming minor release) [SNAPSHOT](https://oss.sonatype.org/content/repositories/snapshots/org/openapitools/openapi-generator-cli/4.1.0-SNAPSHOT/)| 15.07.2019 | Minor release (breaking changes with fallbacks)
4.0.1 (upcoming patch release) [SNAPSHOT](https://oss.sonatype.org/content/repositories/snapshots/org/openapitools/openapi-generator-cli/4.0.1-SNAPSHOT/)| 31.05.2019 | Patch release (minor bug fixes, etc)
[4.0.0](https://github.com/OpenAPITools/openapi-generator/releases/tag/v4.0.0) (latest stable release) | 13.05.2019 | Major release with breaking changes (with or without fallback)

OpenAPI Spec compatibility: 1.0, 1.1, 1.2, 2.0, 3.0
@@ -51,7 +51,7 @@ sedi () {
for filename in "${files[@]}"; do
# e.g. sed -i '' "s/3.0.1-SNAPSHOT/3.0.1/g" CI/pom.xml.bash
#echo "Running command: sed -i '' "s/$FROM/$TO/g" $filename"
if sedi "s/$FROM/$TO/g" $filename; then
if sedi "s/>$FROM</>$TO</g" $filename; then
echo "Updated $filename successfully!"
else
echo "ERROR: Failed to update $filename with the following command"
@@ -3,7 +3,7 @@
<parent>
<groupId>org.openapitools</groupId>
<artifactId>openapi-generator-project</artifactId>
<version>4.0.0</version>
<version>4.0.1-SNAPSHOT</version>
<relativePath>../..</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
@@ -5,7 +5,7 @@
<parent>
<artifactId>openapi-generator-project</artifactId>
<groupId>org.openapitools</groupId>
<version>4.0.0</version>
<version>4.0.1-SNAPSHOT</version>
<relativePath>../..</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
@@ -3,7 +3,7 @@
<parent>
<groupId>org.openapitools</groupId>
<artifactId>openapi-generator-project</artifactId>
<version>4.0.0</version>
<version>4.0.1-SNAPSHOT</version>
<relativePath>../..</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
@@ -18,7 +18,7 @@
<plugin>
<groupId>org.openapitools</groupId>
<artifactId>openapi-generator-maven-plugin</artifactId>
<version>4.0.0-SNAPSHOT</version>
<version>4.0.0</version>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
@@ -4,7 +4,7 @@
<parent>
<groupId>org.openapitools</groupId>
<artifactId>openapi-generator-project</artifactId>
<version>4.0.0</version>
<version>4.0.1-SNAPSHOT</version>
<relativePath>../..</relativePath>
</parent>
<artifactId>openapi-generator-maven-plugin</artifactId>
@@ -3,7 +3,7 @@
<parent>
<groupId>org.openapitools</groupId>
<artifactId>openapi-generator-project</artifactId>
<version>4.0.0</version>
<version>4.0.1-SNAPSHOT</version>
<relativePath>../..</relativePath>
</parent>
<artifactId>openapi-generator-online</artifactId>
@@ -3,7 +3,7 @@
<parent>
<groupId>org.openapitools</groupId>
<artifactId>openapi-generator-project</artifactId>
<version>4.0.0</version>
<version>4.0.1-SNAPSHOT</version>
<relativePath>../..</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
@@ -313,7 +313,7 @@
<dependency>
<groupId>org.openapitools</groupId>
<artifactId>openapi-generator-core</artifactId>
<version>4.0.0</version>
<version>4.0.1-SNAPSHOT</version>
</dependency>
</dependencies>
<repositories>
@@ -14,30 +14,16 @@
* limitations under the License.
*/

package org.openapitools.codegen.csharp;

import org.openapitools.codegen.CodegenConstants;
package org.openapitools.codegen.fsharp;
import org.openapitools.codegen.CodegenModel;
import org.openapitools.codegen.CodegenProperty;
import org.openapitools.codegen.languages.AbstractFSharpCodegen;
import org.openapitools.codegen.languages.FsharpGiraffeServerCodegen;
import org.testng.Assert;
import org.testng.annotations.Test;
import com.google.common.collect.Sets;
import io.swagger.v3.oas.models.OpenAPI;
import io.swagger.v3.oas.models.media.*;
import io.swagger.v3.parser.util.SchemaTypeUtil;
import org.openapitools.codegen.CodegenModel;
import org.openapitools.codegen.CodegenProperty;
import org.openapitools.codegen.DefaultCodegen;
import org.openapitools.codegen.TestUtils;
import io.swagger.parser.OpenAPIParser;
import io.swagger.v3.oas.models.Components;
import io.swagger.v3.oas.models.OpenAPI;
import io.swagger.v3.oas.models.info.Info;
import io.swagger.v3.oas.models.media.Schema;
import io.swagger.v3.oas.models.servers.Server;
import io.swagger.v3.parser.core.models.ParseOptions;
import org.openapitools.codegen.MockDefaultGenerator.WrittenTemplateBasedFile;
import java.util.*;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;

@SuppressWarnings("static-method")
public class FSharpServerCodegenTest {
@@ -9,7 +9,7 @@
<artifactId>openapi-generator-project</artifactId>
<packaging>pom</packaging>
<name>openapi-generator-project</name>
<version>4.0.0</version>
<version>4.0.1-SNAPSHOT</version>
<url>https://github.com/openapitools/openapi-generator</url>
<scm>
<connection>scm:git:git@github.com:openapitools/openapi-generator.git</connection>
@@ -1 +1 @@
4.0.0-SNAPSHOT
4.0.1-SNAPSHOT
@@ -1 +1 @@
4.0.0-SNAPSHOT
4.0.1-SNAPSHOT
@@ -1 +1 @@
4.0.0-SNAPSHOT
4.0.1-SNAPSHOT
@@ -1 +1 @@
4.0.0-SNAPSHOT
4.0.1-SNAPSHOT
@@ -1 +1 @@
4.0.0-SNAPSHOT
4.0.1-SNAPSHOT
@@ -1 +1 @@
4.0.0-SNAPSHOT
4.0.1-SNAPSHOT
@@ -1 +1 @@
4.0.0-SNAPSHOT
4.0.1-SNAPSHOT
@@ -1 +1 @@
4.0.0-SNAPSHOT
4.0.1-SNAPSHOT
@@ -1 +1 @@
4.0.0-SNAPSHOT
4.0.1-SNAPSHOT
@@ -1 +1 @@
4.0.0-SNAPSHOT
4.0.1-SNAPSHOT
@@ -1 +1 @@
4.0.0-SNAPSHOT
4.0.1-SNAPSHOT
@@ -1 +1 @@
4.0.0-SNAPSHOT
4.0.1-SNAPSHOT
@@ -1 +1 @@
4.0.0-SNAPSHOT
4.0.1-SNAPSHOT
@@ -1 +1 @@
4.0.0-SNAPSHOT
4.0.1-SNAPSHOT
@@ -1 +1 @@
4.0.0-SNAPSHOT
4.0.1-SNAPSHOT
@@ -1 +1 @@
4.0.0-SNAPSHOT
4.0.1-SNAPSHOT
@@ -1 +1 @@
4.0.0-SNAPSHOT
4.0.1-SNAPSHOT
@@ -1 +1 @@
4.0.0-SNAPSHOT
4.0.1-SNAPSHOT
@@ -1 +1 @@
4.0.0-SNAPSHOT
4.0.1-SNAPSHOT
@@ -1 +1 @@
4.0.0-SNAPSHOT
4.0.1-SNAPSHOT
@@ -1 +1 @@
4.0.0-SNAPSHOT
4.0.1-SNAPSHOT
@@ -1 +1 @@
4.0.0-SNAPSHOT
4.0.1-SNAPSHOT
@@ -1 +1 @@
4.0.0-SNAPSHOT
4.0.1-SNAPSHOT
@@ -1 +1 @@
4.0.0-SNAPSHOT
4.0.1-SNAPSHOT
@@ -1 +1 @@
4.0.0-SNAPSHOT
4.0.1-SNAPSHOT
@@ -1 +1 @@
4.0.0-SNAPSHOT
4.0.1-SNAPSHOT
@@ -1 +1 @@
4.0.0-SNAPSHOT
4.0.1-SNAPSHOT
@@ -1 +1 @@
4.0.0-SNAPSHOT
4.0.1-SNAPSHOT
@@ -1 +1 @@
4.0.0-SNAPSHOT
4.0.1-SNAPSHOT
@@ -1 +1 @@
4.0.0-SNAPSHOT
4.0.1-SNAPSHOT
@@ -1 +1 @@
4.0.0-SNAPSHOT
4.0.1-SNAPSHOT
@@ -1 +1 @@
4.0.0-SNAPSHOT
4.0.1-SNAPSHOT
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
* OpenAPI Generator version: 4.0.0-SNAPSHOT
* OpenAPI Generator version: 4.0.1-SNAPSHOT
*
* Do not edit the class manually.
*
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
* OpenAPI Generator version: 4.0.0-SNAPSHOT
* OpenAPI Generator version: 4.0.1-SNAPSHOT
*
* Do not edit the class manually.
*
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
* OpenAPI Generator version: 4.0.0-SNAPSHOT
* OpenAPI Generator version: 4.0.1-SNAPSHOT
*
* Do not edit the class manually.
*
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
* OpenAPI Generator version: 4.0.0-SNAPSHOT
* OpenAPI Generator version: 4.0.1-SNAPSHOT
*
* Do not edit the class manually.
*
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
* OpenAPI Generator version: 4.0.0-SNAPSHOT
* OpenAPI Generator version: 4.0.1-SNAPSHOT
*
* Do not edit the class manually.
*
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
* OpenAPI Generator version: 4.0.0-SNAPSHOT
* OpenAPI Generator version: 4.0.1-SNAPSHOT
*
* Do not edit the class manually.
*
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
* OpenAPI Generator version: 4.0.0-SNAPSHOT
* OpenAPI Generator version: 4.0.1-SNAPSHOT
*
* Do not edit the class manually.
*
@@ -7,7 +7,7 @@
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
*
* OpenAPI Generator version: 4.0.0-SNAPSHOT
* OpenAPI Generator version: 4.0.1-SNAPSHOT
*
* Do not edit the class manually.
*
Oops, something went wrong.

0 comments on commit cbe39ba

Please sign in to comment.
You can’t perform that action at this time.