forked from loafle/openapi-generator-original
update sample tests, fix Java tests (#20300)
* replace removed forkMode * remove junit runner where it's not needed * update samples without skipping test files, but skip files named "FILES" * revert overwriting custom tests, add custom java tests to list * add one sample to CircleCI, fix various Java tests
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
The version of the OpenAPI document: 0.1.0
|
||||
Contact: team@openapitools.org
|
||||
Generated by: https://openapi-generator.tech
|
||||
OpenAPI Generator version: 7.2.0-SNAPSHOT
|
||||
Generator version: 7.11.0-SNAPSHOT
|
||||
|
||||
=end
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
The version of the OpenAPI document: 0.1.0
|
||||
Contact: team@openapitools.org
|
||||
Generated by: https://openapi-generator.tech
|
||||
OpenAPI Generator version: 7.2.0-SNAPSHOT
|
||||
Generator version: 7.11.0-SNAPSHOT
|
||||
|
||||
=end
|
||||
|
||||
@@ -67,6 +67,18 @@ describe 'BodyApi' do
|
||||
end
|
||||
end
|
||||
|
||||
# unit tests for test_body_multipart_formdata_single_binary
|
||||
# Test single binary in multipart mime
|
||||
# Test single binary in multipart mime
|
||||
# @param [Hash] opts the optional parameters
|
||||
# @option opts [File] :my_file
|
||||
# @return [String]
|
||||
describe 'test_body_multipart_formdata_single_binary test' do
|
||||
it 'should work' do
|
||||
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
||||
end
|
||||
end
|
||||
|
||||
# unit tests for test_echo_body_all_of_pet
|
||||
# Test body parameter(s)
|
||||
# Test body parameter(s)
|
||||
@@ -115,6 +127,18 @@ describe 'BodyApi' do
|
||||
end
|
||||
end
|
||||
|
||||
# unit tests for test_echo_body_string_enum
|
||||
# Test string enum response body
|
||||
# Test string enum response body
|
||||
# @param [Hash] opts the optional parameters
|
||||
# @option opts [String] :body String enum
|
||||
# @return [StringEnumRef]
|
||||
describe 'test_echo_body_string_enum test' do
|
||||
it 'should work' do
|
||||
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
||||
end
|
||||
end
|
||||
|
||||
# unit tests for test_echo_body_tag_response_string
|
||||
# Test empty json (request body)
|
||||
# Test empty json (request body)
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
The version of the OpenAPI document: 0.1.0
|
||||
Contact: team@openapitools.org
|
||||
Generated by: https://openapi-generator.tech
|
||||
OpenAPI Generator version: 7.2.0-SNAPSHOT
|
||||
Generator version: 7.11.0-SNAPSHOT
|
||||
|
||||
=end
|
||||
|
||||
@@ -46,6 +46,18 @@ describe 'FormApi' do
|
||||
end
|
||||
end
|
||||
|
||||
# unit tests for test_form_object_multipart
|
||||
# Test form parameter(s) for multipart schema
|
||||
# Test form parameter(s) for multipart schema
|
||||
# @param marker
|
||||
# @param [Hash] opts the optional parameters
|
||||
# @return [String]
|
||||
describe 'test_form_object_multipart test' do
|
||||
it 'should work' do
|
||||
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
||||
end
|
||||
end
|
||||
|
||||
# unit tests for test_form_oneof
|
||||
# Test form parameter(s) for oneOf schema
|
||||
# Test form parameter(s) for oneOf schema
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
The version of the OpenAPI document: 0.1.0
|
||||
Contact: team@openapitools.org
|
||||
Generated by: https://openapi-generator.tech
|
||||
OpenAPI Generator version: 7.2.0-SNAPSHOT
|
||||
Generator version: 7.11.0-SNAPSHOT
|
||||
|
||||
=end
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
The version of the OpenAPI document: 0.1.0
|
||||
Contact: team@openapitools.org
|
||||
Generated by: https://openapi-generator.tech
|
||||
OpenAPI Generator version: 7.2.0-SNAPSHOT
|
||||
Generator version: 7.11.0-SNAPSHOT
|
||||
|
||||
=end
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
The version of the OpenAPI document: 0.1.0
|
||||
Contact: team@openapitools.org
|
||||
Generated by: https://openapi-generator.tech
|
||||
OpenAPI Generator version: 7.2.0-SNAPSHOT
|
||||
Generator version: 7.11.0-SNAPSHOT
|
||||
|
||||
=end
|
||||
|
||||
@@ -97,6 +97,30 @@ describe 'QueryApi' do
|
||||
end
|
||||
end
|
||||
|
||||
# unit tests for test_query_style_form_explode_false_array_integer
|
||||
# Test query parameter(s)
|
||||
# Test query parameter(s)
|
||||
# @param [Hash] opts the optional parameters
|
||||
# @option opts [Array<Integer>] :query_object
|
||||
# @return [String]
|
||||
describe 'test_query_style_form_explode_false_array_integer test' do
|
||||
it 'should work' do
|
||||
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
||||
end
|
||||
end
|
||||
|
||||
# unit tests for test_query_style_form_explode_false_array_string
|
||||
# Test query parameter(s)
|
||||
# Test query parameter(s)
|
||||
# @param [Hash] opts the optional parameters
|
||||
# @option opts [Array<String>] :query_object
|
||||
# @return [String]
|
||||
describe 'test_query_style_form_explode_false_array_string test' do
|
||||
it 'should work' do
|
||||
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
||||
end
|
||||
end
|
||||
|
||||
# unit tests for test_query_style_form_explode_true_array_string
|
||||
# Test query parameter(s)
|
||||
# Test query parameter(s)
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
The version of the OpenAPI document: 0.1.0
|
||||
Contact: team@openapitools.org
|
||||
Generated by: https://openapi-generator.tech
|
||||
OpenAPI Generator version: 7.2.0-SNAPSHOT
|
||||
Generator version: 7.11.0-SNAPSHOT
|
||||
|
||||
=end
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
The version of the OpenAPI document: 0.1.0
|
||||
Contact: team@openapitools.org
|
||||
Generated by: https://openapi-generator.tech
|
||||
OpenAPI Generator version: 7.2.0-SNAPSHOT
|
||||
Generator version: 7.11.0-SNAPSHOT
|
||||
|
||||
=end
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
The version of the OpenAPI document: 0.1.0
|
||||
Contact: team@openapitools.org
|
||||
Generated by: https://openapi-generator.tech
|
||||
OpenAPI Generator version: 7.2.0-SNAPSHOT
|
||||
Generator version: 7.11.0-SNAPSHOT
|
||||
|
||||
=end
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
The version of the OpenAPI document: 0.1.0
|
||||
Contact: team@openapitools.org
|
||||
Generated by: https://openapi-generator.tech
|
||||
OpenAPI Generator version: 7.2.0-SNAPSHOT
|
||||
Generator version: 7.11.0-SNAPSHOT
|
||||
|
||||
=end
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
The version of the OpenAPI document: 0.1.0
|
||||
Contact: team@openapitools.org
|
||||
Generated by: https://openapi-generator.tech
|
||||
OpenAPI Generator version: 7.2.0-SNAPSHOT
|
||||
Generator version: 7.11.0-SNAPSHOT
|
||||
|
||||
=end
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
The version of the OpenAPI document: 0.1.0
|
||||
Contact: team@openapitools.org
|
||||
Generated by: https://openapi-generator.tech
|
||||
OpenAPI Generator version: 7.2.0-SNAPSHOT
|
||||
Generator version: 7.11.0-SNAPSHOT
|
||||
|
||||
=end
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
The version of the OpenAPI document: 0.1.0
|
||||
Contact: team@openapitools.org
|
||||
Generated by: https://openapi-generator.tech
|
||||
OpenAPI Generator version: 7.2.0-SNAPSHOT
|
||||
Generator version: 7.11.0-SNAPSHOT
|
||||
|
||||
=end
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
The version of the OpenAPI document: 0.1.0
|
||||
Contact: team@openapitools.org
|
||||
Generated by: https://openapi-generator.tech
|
||||
OpenAPI Generator version: 7.2.0-SNAPSHOT
|
||||
Generator version: 7.11.0-SNAPSHOT
|
||||
|
||||
=end
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
The version of the OpenAPI document: 0.1.0
|
||||
Contact: team@openapitools.org
|
||||
Generated by: https://openapi-generator.tech
|
||||
OpenAPI Generator version: 7.2.0-SNAPSHOT
|
||||
Generator version: 7.11.0-SNAPSHOT
|
||||
|
||||
=end
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
The version of the OpenAPI document: 0.1.0
|
||||
Contact: team@openapitools.org
|
||||
Generated by: https://openapi-generator.tech
|
||||
Generator version: 7.5.0-SNAPSHOT
|
||||
Generator version: 7.11.0-SNAPSHOT
|
||||
|
||||
=end
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
The version of the OpenAPI document: 0.1.0
|
||||
Contact: team@openapitools.org
|
||||
Generated by: https://openapi-generator.tech
|
||||
OpenAPI Generator version: 7.2.0-SNAPSHOT
|
||||
Generator version: 7.11.0-SNAPSHOT
|
||||
|
||||
=end
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
The version of the OpenAPI document: 0.1.0
|
||||
Contact: team@openapitools.org
|
||||
Generated by: https://openapi-generator.tech
|
||||
OpenAPI Generator version: 7.2.0-SNAPSHOT
|
||||
Generator version: 7.11.0-SNAPSHOT
|
||||
|
||||
=end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user