Skip to content

[rust]: Remove unmaintained samples and specs #13193

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/configs/rust-reqwest-petstore-async.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
generatorName: rust
outputDir: samples/client/petstore/rust/reqwest/petstore-async
library: reqwest
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml
inputSpec: modules/openapi-generator/src/test/resources/3_0/rust/petstore.yaml
templateDir: modules/openapi-generator/src/main/resources/rust
additionalProperties:
supportAsync: true
Expand Down
2 changes: 1 addition & 1 deletion bin/configs/rust-reqwest-petstore-awsv4signature.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
generatorName: rust
outputDir: samples/client/petstore/rust/reqwest/petstore-awsv4signature
library: reqwest
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml
inputSpec: modules/openapi-generator/src/test/resources/3_0/rust/petstore.yaml
templateDir: modules/openapi-generator/src/main/resources/rust
additionalProperties:
supportAsync: false
Expand Down
9 changes: 0 additions & 9 deletions bin/configs/unmaintained/rust-hyper-fileResponseTest.yaml

This file was deleted.

8 changes: 0 additions & 8 deletions bin/configs/unmaintained/rust-hyper-test.yaml

This file was deleted.

8 changes: 0 additions & 8 deletions bin/configs/unmaintained/rust-reqwest-fileResponseTest.yaml

This file was deleted.

8 changes: 0 additions & 8 deletions bin/configs/unmaintained/rust-reqwest-test.yaml

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,31 @@ paths:
description: Invalid username supplied
'404':
description: User not found
'/tests/fileResponse':
get:
tags:
- testing
summary: Returns an image file
responses:
'200':
description: An image file
content:
image/jpeg:
schema:
type: string
format: binary
'/tests/typeTesting':
get:
tags:
- testing
summary: Route to test the TypeTesting schema
responses:
'200':
description: The TypeTesting response
content:
application/json:
schema:
$ref: '#/components/schemas/TypeTesting'
externalDocs:
description: Find out more about Swagger
url: 'http://swagger.io'
Expand Down Expand Up @@ -791,3 +816,34 @@ components:
- A
- B
type: string
TypeTesting:
description: Test handling of different field data types
type: object
required:
- int32
- int64
- float
- double
- string
- boolean
- uuid
properties:
int32:
type: integer
format: int32
int64:
type: integer
format: int64
float:
type: number
format: float
double:
type: number
format: double
string:
type: string
boolean:
type: boolean
uuid:
type: string
format: uuid

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ def self.openapi_types
# List of attributes with nullable: true
def self.openapi_nullable
Set.new([
:'single_ref_type'
])
end

Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

18 changes: 0 additions & 18 deletions samples/client/petstore/rust/hyper/fileResponseTest/Cargo.toml

This file was deleted.

43 changes: 0 additions & 43 deletions samples/client/petstore/rust/hyper/fileResponseTest/README.md

This file was deleted.

This file was deleted.

58 changes: 0 additions & 58 deletions samples/client/petstore/rust/hyper/fileResponseTest/git_push.sh

This file was deleted.

Loading