Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wing328 committed Apr 7, 2024
1 parent 36ffe1f commit af6a82d
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 322 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -909,14 +909,15 @@ components:
properties: {}
type: object
title: HTTPValidationError
AnyOfArray:
anyOf:
- type: array
items:
type: string
- type: array
items:
type: integer
# okhttp-gson doesnot support array of string
#AnyOfArray:
# anyOf:
# - type: array
# items:
# type: string
# - type: array
# items:
# type: integer
ArrayPrefixItems:
type: array
description: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ api/openapi.yaml
build.gradle
build.sbt
docs/Animal.md
docs/AnyOfArray.md
docs/AnyTypeTest.md
docs/ArrayOfSameRef.md
docs/Cat.md
Expand Down Expand Up @@ -63,7 +62,6 @@ src/main/java/org/openapitools/client/auth/OAuthOkHttpClient.java
src/main/java/org/openapitools/client/auth/RetryingOAuth.java
src/main/java/org/openapitools/client/model/AbstractOpenApiSchema.java
src/main/java/org/openapitools/client/model/Animal.java
src/main/java/org/openapitools/client/model/AnyOfArray.java
src/main/java/org/openapitools/client/model/AnyTypeTest.java
src/main/java/org/openapitools/client/model/ArrayOfSameRef.java
src/main/java/org/openapitools/client/model/Cat.java
Expand Down
1 change: 0 additions & 1 deletion samples/client/petstore/java/okhttp-gson-3.1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ Class | Method | HTTP request | Description
## Documentation for Models

- [Animal](docs/Animal.md)
- [AnyOfArray](docs/AnyOfArray.md)
- [AnyTypeTest](docs/AnyTypeTest.md)
- [ArrayOfSameRef](docs/ArrayOfSameRef.md)
- [Cat](docs/Cat.md)
Expand Down
6 changes: 0 additions & 6 deletions samples/client/petstore/java/okhttp-gson-3.1/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1022,12 +1022,6 @@ components:
properties: {}
title: HTTPValidationError
type: object
AnyOfArray:
anyOf:
- items:
type: string
- items:
type: integer
ArrayPrefixItems:
description: |
An item that was added to the queue.
Expand Down
12 changes: 0 additions & 12 deletions samples/client/petstore/java/okhttp-gson-3.1/docs/AnyOfArray.md

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri
gsonBuilder.registerTypeAdapter(OffsetDateTime.class, offsetDateTimeTypeAdapter);
gsonBuilder.registerTypeAdapter(LocalDate.class, localDateTypeAdapter);
gsonBuilder.registerTypeAdapter(byte[].class, byteArrayAdapter);
gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.AnyOfArray.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.AnyTypeTest.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.ArrayOfSameRef.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.Cat.CustomTypeAdapterFactory());
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit af6a82d

Please sign in to comment.