Skip to content

Commit 0eddd7c

Browse files
authored
added more enum related tests (#39)
Added tests related to OpenAPITools/openapi-generator#16079 and regenerated all test specs from the latest openapi-generator that includes the fix
1 parent 548abe5 commit 0eddd7c

Some content is hidden

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

70 files changed

+167
-84
lines changed

test/client/allany/AllAnyClient/.openapi-generator/FILES

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@ README.md
22
docs/AnyOfMappedPets.md
33
docs/AnyOfPets.md
44
docs/Cat.md
5-
docs/CatAllOf.md
65
docs/DefaultApi.md
76
docs/Dog.md
8-
docs/DogAllOf.md
97
docs/OneOfMappedPets.md
108
docs/OneOfPets.md
119
docs/Pet.md
@@ -15,9 +13,7 @@ src/modelincludes.jl
1513
src/models/model_AnyOfMappedPets.jl
1614
src/models/model_AnyOfPets.jl
1715
src/models/model_Cat.jl
18-
src/models/model_CatAllOf.jl
1916
src/models/model_Dog.jl
20-
src/models/model_DogAllOf.jl
2117
src/models/model_OneOfMappedPets.jl
2218
src/models/model_OneOfPets.jl
2319
src/models/model_Pet.jl
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6.3.0-SNAPSHOT
1+
7.0.0-SNAPSHOT

test/client/allany/AllAnyClient/README.md

Lines changed: 2 additions & 3 deletions

test/client/allany/AllAnyClient/src/modelincludes.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44
include("models/model_AnyOfMappedPets.jl")
55
include("models/model_AnyOfPets.jl")
66
include("models/model_Cat.jl")
7-
include("models/model_CatAllOf.jl")
87
include("models/model_Dog.jl")
9-
include("models/model_DogAllOf.jl")
108
include("models/model_OneOfMappedPets.jl")
119
include("models/model_OneOfPets.jl")
1210
include("models/model_Pet.jl")

test/client/allany/AllAnyClient/src/models/model_AnyOfMappedPets.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,3 @@ function OpenAPI.property_type(::Type{ AnyOfMappedPets }, name::Symbol, json::Di
2222
end
2323
throw(OpenAPI.ValidationException("Invalid discriminator value: $discriminator for AnyOfMappedPets"))
2424
end
25-

test/client/allany/AllAnyClient/src/models/model_AnyOfPets.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,3 @@ function OpenAPI.property_type(::Type{ AnyOfPets }, name::Symbol, json::Dict{Str
2222
end
2323
throw(OpenAPI.ValidationException("Invalid discriminator value: $discriminator for AnyOfPets"))
2424
end
25-

test/client/allany/AllAnyClient/src/models/model_Cat.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,3 @@ end
3737

3838
function OpenAPI.validate_property(::Type{ Cat }, name::Symbol, val)
3939
end
40-

test/client/allany/AllAnyClient/src/models/model_Dog.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,3 @@ function OpenAPI.validate_property(::Type{ Dog }, name::Symbol, val)
4040
OpenAPI.validate_param(name, "Dog", :enum, val, ["Dingo", "Husky", "Retriever", "Shepherd"])
4141
end
4242
end
43-

test/client/allany/AllAnyClient/src/models/model_OneOfMappedPets.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,3 @@ function OpenAPI.property_type(::Type{ OneOfMappedPets }, name::Symbol, json::Di
2222
end
2323
throw(OpenAPI.ValidationException("Invalid discriminator value: $discriminator for OneOfMappedPets"))
2424
end
25-

test/client/allany/AllAnyClient/src/models/model_OneOfPets.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,3 @@ function OpenAPI.property_type(::Type{ OneOfPets }, name::Symbol, json::Dict{Str
2222
end
2323
throw(OpenAPI.ValidationException("Invalid discriminator value: $discriminator for OneOfPets"))
2424
end
25-

0 commit comments

Comments
 (0)