Skip to content

Commit 41636ae

Browse files
committed
revert petstore-with-fake-endpoints-models-for-testing.yaml
1 parent ec2abe7 commit 41636ae

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+165
-165
lines changed

modules/swagger-codegen/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
swagger: '2.0'
22
info:
3-
description: "This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ */ ' \" =end"
4-
version: 1.0.0 */ ' " =end
5-
title: Swagger Petstore */ ' " =end
6-
termsOfService: 'http://swagger.io/terms/ */ =end'
3+
description: "This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\"
4+
version: 1.0.0
5+
title: Swagger Petstore
6+
termsOfService: 'http://swagger.io/terms/'
77
contact:
8-
email: [email protected] */ ' " =end
8+
99
license:
10-
name: Apache 2.0 */ ' " =end
11-
url: 'http://www.apache.org/licenses/LICENSE-2.0.html */ =end'
12-
host: petstore.swagger.io */ ' " =end
13-
basePath: /v2 */ ' " =end
10+
name: Apache 2.0
11+
url: 'http://www.apache.org/licenses/LICENSE-2.0.html'
12+
host: petstore.swagger.io
13+
basePath: /v2
1414
tags:
1515
- name: pet
1616
description: Everything about your Pets
@@ -25,7 +25,7 @@ tags:
2525
description: Find out more about our store
2626
url: 'http://swagger.io'
2727
schemes:
28-
- http */ end ' "
28+
- http
2929
paths:
3030
/pet:
3131
post:

samples/client/petstore/php/SwaggerClient-php/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# SwaggerClient-php
2-
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ ' \" =end
2+
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
33

44
This PHP package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
55

6-
- API version: 1.0.0 ' \" =end
7-
- Build date: 2016-06-28T11:59:01.404+08:00
6+
- API version: 1.0.0
7+
- Build date: 2016-06-28T14:37:09.979+08:00
88
- Build package: class io.swagger.codegen.languages.PhpClientCodegen
99

1010
## Requirements
@@ -71,7 +71,7 @@ try {
7171

7272
## Documentation for API Endpoints
7373

74-
All URIs are relative to *https://petstore.swagger.io */ ' " =end/v2 */ ' " =end*
74+
All URIs are relative to *http://petstore.swagger.io/v2*
7575

7676
Class | Method | HTTP request | Description
7777
------------ | ------------- | ------------- | -------------
@@ -151,6 +151,6 @@ Class | Method | HTTP request | Description
151151

152152
## Author
153153

154-
[email protected] ' \" =end
154+
155155

156156

samples/client/petstore/php/SwaggerClient-php/autoload.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<?php
22

33
/**
4-
* Swagger Petstore ' \" =end
4+
* Swagger Petstore
55
*
6-
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ ' \" =end
6+
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
77
*
8-
* OpenAPI spec version: 1.0.0 ' \" =end
9-
* Contact: [email protected] ' \" =end
8+
* OpenAPI spec version: 1.0.0
9+
* Contact: [email protected]
1010
* Generated by: https://github.com/swagger-api/swagger-codegen.git
1111
*
1212
* Licensed under the Apache License, Version 2.0 (the "License");

samples/client/petstore/php/SwaggerClient-php/docs/Api/FakeApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Swagger\Client\FakeApi
22

3-
All URIs are relative to *https://petstore.swagger.io */ &#39; &quot; &#x3D;end/v2 */ &#39; &quot; &#x3D;end*
3+
All URIs are relative to *http://petstore.swagger.io/v2*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------

samples/client/petstore/php/SwaggerClient-php/docs/Api/PetApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Swagger\Client\PetApi
22

3-
All URIs are relative to *https://petstore.swagger.io */ &#39; &quot; &#x3D;end/v2 */ &#39; &quot; &#x3D;end*
3+
All URIs are relative to *http://petstore.swagger.io/v2*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------

samples/client/petstore/php/SwaggerClient-php/docs/Api/StoreApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Swagger\Client\StoreApi
22

3-
All URIs are relative to *https://petstore.swagger.io */ &#39; &quot; &#x3D;end/v2 */ &#39; &quot; &#x3D;end*
3+
All URIs are relative to *http://petstore.swagger.io/v2*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------

samples/client/petstore/php/SwaggerClient-php/docs/Api/UserApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Swagger\Client\UserApi
22

3-
All URIs are relative to *https://petstore.swagger.io */ &#39; &quot; &#x3D;end/v2 */ &#39; &quot; &#x3D;end*
3+
All URIs are relative to *http://petstore.swagger.io/v2*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------

samples/client/petstore/php/SwaggerClient-php/lib/Api/FakeApi.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
*/
1212

1313
/**
14-
* Swagger Petstore ' \" =end
14+
* Swagger Petstore
1515
*
16-
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ ' \" =end
16+
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
1717
*
18-
* OpenAPI spec version: 1.0.0 ' \" =end
19-
* Contact: [email protected] ' \" =end
18+
* OpenAPI spec version: 1.0.0
19+
* Contact: [email protected]
2020
* Generated by: https://github.com/swagger-api/swagger-codegen.git
2121
*
2222
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -73,7 +73,7 @@ public function __construct(\Swagger\Client\ApiClient $apiClient = null)
7373
{
7474
if ($apiClient == null) {
7575
$apiClient = new ApiClient();
76-
$apiClient->getConfig()->setHost('https://petstore.swagger.io */ &#39; &quot; &#x3D;end/v2 */ &#39; &quot; &#x3D;end');
76+
$apiClient->getConfig()->setHost('http://petstore.swagger.io/v2');
7777
}
7878

7979
$this->apiClient = $apiClient;

samples/client/petstore/php/SwaggerClient-php/lib/Api/PetApi.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
*/
1212

1313
/**
14-
* Swagger Petstore ' \" =end
14+
* Swagger Petstore
1515
*
16-
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ ' \" =end
16+
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
1717
*
18-
* OpenAPI spec version: 1.0.0 ' \" =end
19-
* Contact: [email protected] ' \" =end
18+
* OpenAPI spec version: 1.0.0
19+
* Contact: [email protected]
2020
* Generated by: https://github.com/swagger-api/swagger-codegen.git
2121
*
2222
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -73,7 +73,7 @@ public function __construct(\Swagger\Client\ApiClient $apiClient = null)
7373
{
7474
if ($apiClient == null) {
7575
$apiClient = new ApiClient();
76-
$apiClient->getConfig()->setHost('https://petstore.swagger.io */ &#39; &quot; &#x3D;end/v2 */ &#39; &quot; &#x3D;end');
76+
$apiClient->getConfig()->setHost('http://petstore.swagger.io/v2');
7777
}
7878

7979
$this->apiClient = $apiClient;

samples/client/petstore/php/SwaggerClient-php/lib/Api/StoreApi.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
*/
1212

1313
/**
14-
* Swagger Petstore ' \" =end
14+
* Swagger Petstore
1515
*
16-
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ ' \" =end
16+
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
1717
*
18-
* OpenAPI spec version: 1.0.0 ' \" =end
19-
* Contact: [email protected] ' \" =end
18+
* OpenAPI spec version: 1.0.0
19+
* Contact: [email protected]
2020
* Generated by: https://github.com/swagger-api/swagger-codegen.git
2121
*
2222
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -73,7 +73,7 @@ public function __construct(\Swagger\Client\ApiClient $apiClient = null)
7373
{
7474
if ($apiClient == null) {
7575
$apiClient = new ApiClient();
76-
$apiClient->getConfig()->setHost('https://petstore.swagger.io */ &#39; &quot; &#x3D;end/v2 */ &#39; &quot; &#x3D;end');
76+
$apiClient->getConfig()->setHost('http://petstore.swagger.io/v2');
7777
}
7878

7979
$this->apiClient = $apiClient;

0 commit comments

Comments
 (0)