From a07ab606dcb6f1110845ca8e747b2ea0518ecbb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Bresson?= Date: Thu, 10 May 2018 07:45:12 +0200 Subject: [PATCH] Small fixes in samples (#410) --- .../swift/.openapi-generator-ignore | 6 ++--- .../scala-gatling/.openapi-generator-ignore | 6 ++--- .../usage/.openapi-generator-ignore | 23 +++++++++++++++++++ .../lumen/.openapi-generator-ignore | 6 ++--- .../slim/.openapi-generator-ignore | 6 ++--- samples/server/petstore/sinatra/README.md | 2 +- 6 files changed, 36 insertions(+), 13 deletions(-) create mode 100644 samples/meta-codegen/usage/.openapi-generator-ignore diff --git a/samples/client/petstore-security-test/swift/.openapi-generator-ignore b/samples/client/petstore-security-test/swift/.openapi-generator-ignore index c5fa491b4c5..7484ee590a3 100644 --- a/samples/client/petstore-security-test/swift/.openapi-generator-ignore +++ b/samples/client/petstore-security-test/swift/.openapi-generator-ignore @@ -1,11 +1,11 @@ -# Swagger Codegen Ignore -# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen +# OpenAPI Generator Ignore +# Generated by openapi-generator https://github.com/openapitools/openapi-generator # Use this file to prevent files from being overwritten by the generator. # The patterns follow closely to .gitignore or .dockerignore. # As an example, the C# client generator defines ApiClient.cs. -# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line: +# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: #ApiClient.cs # You can match any string of characters against a directory, file or extension with a single asterisk (*): diff --git a/samples/client/petstore/scala-gatling/.openapi-generator-ignore b/samples/client/petstore/scala-gatling/.openapi-generator-ignore index c5fa491b4c5..7484ee590a3 100644 --- a/samples/client/petstore/scala-gatling/.openapi-generator-ignore +++ b/samples/client/petstore/scala-gatling/.openapi-generator-ignore @@ -1,11 +1,11 @@ -# Swagger Codegen Ignore -# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen +# OpenAPI Generator Ignore +# Generated by openapi-generator https://github.com/openapitools/openapi-generator # Use this file to prevent files from being overwritten by the generator. # The patterns follow closely to .gitignore or .dockerignore. # As an example, the C# client generator defines ApiClient.cs. -# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line: +# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: #ApiClient.cs # You can match any string of characters against a directory, file or extension with a single asterisk (*): diff --git a/samples/meta-codegen/usage/.openapi-generator-ignore b/samples/meta-codegen/usage/.openapi-generator-ignore new file mode 100644 index 00000000000..7484ee590a3 --- /dev/null +++ b/samples/meta-codegen/usage/.openapi-generator-ignore @@ -0,0 +1,23 @@ +# OpenAPI Generator Ignore +# Generated by openapi-generator https://github.com/openapitools/openapi-generator + +# Use this file to prevent files from being overwritten by the generator. +# The patterns follow closely to .gitignore or .dockerignore. + +# As an example, the C# client generator defines ApiClient.cs. +# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: +#ApiClient.cs + +# You can match any string of characters against a directory, file or extension with a single asterisk (*): +#foo/*/qux +# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux + +# You can recursively match patterns against a directory, file or extension with a double asterisk (**): +#foo/**/qux +# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux + +# You can also negate patterns with an exclamation (!). +# For example, you can ignore all files in a docs folder with the file extension .md: +#docs/*.md +# Then explicitly reverse the ignore rule for a single file: +#!docs/README.md diff --git a/samples/server/petstore-security-test/lumen/.openapi-generator-ignore b/samples/server/petstore-security-test/lumen/.openapi-generator-ignore index c5fa491b4c5..7484ee590a3 100644 --- a/samples/server/petstore-security-test/lumen/.openapi-generator-ignore +++ b/samples/server/petstore-security-test/lumen/.openapi-generator-ignore @@ -1,11 +1,11 @@ -# Swagger Codegen Ignore -# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen +# OpenAPI Generator Ignore +# Generated by openapi-generator https://github.com/openapitools/openapi-generator # Use this file to prevent files from being overwritten by the generator. # The patterns follow closely to .gitignore or .dockerignore. # As an example, the C# client generator defines ApiClient.cs. -# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line: +# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: #ApiClient.cs # You can match any string of characters against a directory, file or extension with a single asterisk (*): diff --git a/samples/server/petstore-security-test/slim/.openapi-generator-ignore b/samples/server/petstore-security-test/slim/.openapi-generator-ignore index c5fa491b4c5..7484ee590a3 100644 --- a/samples/server/petstore-security-test/slim/.openapi-generator-ignore +++ b/samples/server/petstore-security-test/slim/.openapi-generator-ignore @@ -1,11 +1,11 @@ -# Swagger Codegen Ignore -# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen +# OpenAPI Generator Ignore +# Generated by openapi-generator https://github.com/openapitools/openapi-generator # Use this file to prevent files from being overwritten by the generator. # The patterns follow closely to .gitignore or .dockerignore. # As an example, the C# client generator defines ApiClient.cs. -# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line: +# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: #ApiClient.cs # You can match any string of characters against a directory, file or extension with a single asterisk (*): diff --git a/samples/server/petstore/sinatra/README.md b/samples/server/petstore/sinatra/README.md index c5b8cfffe77..bf132cb042a 100644 --- a/samples/server/petstore/sinatra/README.md +++ b/samples/server/petstore/sinatra/README.md @@ -14,7 +14,7 @@ sinatra-cross_origin ``` ## Getting started -This sample was generated with the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project. +This sample was generated with the [OpenAPI Generator](https://github.com/openapitools/openapi-generator) project. ``` rackup -p 4567 config.ru