Skip to content

Commit e99fe82

Browse files
committed
publish in npm and composer
1 parent 38397cb commit e99fe82

31 files changed

+86
-45
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules
2+
3+
vendor

LICENSE

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Copyright (c) 2020, Ilia Sergunin
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy of
4+
this software and associated documentation files (the "Software"), to deal in
5+
the Software without restriction, including without limitation the rights to
6+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
7+
the Software, and to permit persons to whom the Software is furnished to do so,
8+
subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in all
11+
copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
15+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
16+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
17+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
18+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

php/SwaggerClient-php/composer.json renamed to composer.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@
2020
"guzzlehttp/guzzle": "^6.2"
2121
},
2222
"autoload": {
23-
"psr-4": { "Swagger\\Client\\" : "lib/" }
24-
},
25-
"autoload-dev": {
26-
"psr-4": { "Swagger\\Client\\" : "test/" }
23+
"psr-4": { "Swagger\\Client\\" : "php/SwaggerClient-php/lib/" }
2724
}
2825
}

csharp/.swagger-codegen-ignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,5 @@
2121
#docs/*.md
2222
# Then explicitly reverse the ignore rule for a single file:
2323
#!docs/README.md
24+
25+
.gitignore

csharp/IO.Swagger.sln

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
22
# Visual Studio 2012
33
VisualStudioVersion = 12.0.0.0
44
MinimumVisualStudioVersion = 10.0.0.1
5-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IO.Swagger", "src\IO.Swagger\IO.Swagger.csproj", "{DAB6923F-0895-440C-B922-5F3532A76600}"
5+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IO.Swagger", "src\IO.Swagger\IO.Swagger.csproj", "{EB2840E5-2F5D-46D8-8735-CDFA2766C3B8}"
66
EndProject
77
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IO.Swagger.Test", "src\IO.Swagger.Test\IO.Swagger.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
88
EndProject
@@ -12,10 +12,10 @@ Global
1212
Release|Any CPU = Release|Any CPU
1313
EndGlobalSection
1414
GlobalSection(ProjectConfigurationPlatforms) = postSolution
15-
{DAB6923F-0895-440C-B922-5F3532A76600}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16-
{DAB6923F-0895-440C-B922-5F3532A76600}.Debug|Any CPU.Build.0 = Debug|Any CPU
17-
{DAB6923F-0895-440C-B922-5F3532A76600}.Release|Any CPU.ActiveCfg = Release|Any CPU
18-
{DAB6923F-0895-440C-B922-5F3532A76600}.Release|Any CPU.Build.0 = Release|Any CPU
15+
{EB2840E5-2F5D-46D8-8735-CDFA2766C3B8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16+
{EB2840E5-2F5D-46D8-8735-CDFA2766C3B8}.Debug|Any CPU.Build.0 = Debug|Any CPU
17+
{EB2840E5-2F5D-46D8-8735-CDFA2766C3B8}.Release|Any CPU.ActiveCfg = Release|Any CPU
18+
{EB2840E5-2F5D-46D8-8735-CDFA2766C3B8}.Release|Any CPU.Build.0 = Release|Any CPU
1919
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
2020
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
2121
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU

csharp/src/IO.Swagger/IO.Swagger.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ OpenAPI spec version: 0.0.1
1212

1313
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
1414
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
15-
<ProjectGuid>{DAB6923F-0895-440C-B922-5F3532A76600}</ProjectGuid>
15+
<ProjectGuid>{EB2840E5-2F5D-46D8-8735-CDFA2766C3B8}</ProjectGuid>
1616
<OutputType>Library</OutputType>
1717
<AppDesignerFolder>Properties</AppDesignerFolder>
1818
<RootNamespace>IO.Swagger</RootNamespace>

go/.swagger-codegen-ignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,5 @@
2121
#docs/*.md
2222
# Then explicitly reverse the ignore rule for a single file:
2323
#!docs/README.md
24+
25+
.gitignore

java/.swagger-codegen-ignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,5 @@
2121
#docs/*.md
2222
# Then explicitly reverse the ignore rule for a single file:
2323
#!docs/README.md
24+
25+
.gitignore

java/src/main/java/io/swagger/client/ApiException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import java.util.Map;
1616
import java.util.List;
1717

18-
@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2021-02-03T16:29:40.837Z[GMT]")public class ApiException extends Exception {
18+
@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2021-02-03T17:38:40.051Z[GMT]")public class ApiException extends Exception {
1919
private int code = 0;
2020
private Map<String, List<String>> responseHeaders = null;
2121
private String responseBody = null;

java/src/main/java/io/swagger/client/Configuration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
package io.swagger.client;
1414

15-
@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2021-02-03T16:29:40.837Z[GMT]")public class Configuration {
15+
@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2021-02-03T17:38:40.051Z[GMT]")public class Configuration {
1616
private static ApiClient defaultApiClient = new ApiClient();
1717

1818
/**

0 commit comments

Comments
 (0)