* Make property visibility honor containing model visibility.
* Make client options generation not inherit from client.
* Fix Options generation. Move API Version from Client (which may be internal) to Options (which should be public)
* Regenerate test code.
* Update test paths.
* Support --internal-models for objects and enums.
* Rename to `--remap-models`
* Support aliasing all names.
* Replace azure-sdk-for-ios.git references with SwiftPM-AzureCore.git
* Prevent overwriting certain files if they already exist.
* Fix exists check.
* Fix for options visibility.
* Generate options files outside an extension.
* Apply remapping to parameter types and return types.
* Alias PagedCollection types.
* Restore logging back to warning.
* Regenerate tests
* Regenerate file and update.
* Update tests.
* Change `--remap-models` to `--generate-as-internal`
* Add body-dictionary tests.
* Progress on dictionary tests.
* Refactor tests to one call per test.
* Update to use Iso8601Duration.
* Add support for body-duration.
* Fix array tests for duration.
* Regenerate code with updates.
* Fix base64UrlPath test.
* Remove tests that won't pass.
* Comment out failing tests.
* Add validation.json tests.
* Plumb apiVersion through to client.
* Add validation to code generation.
* Support several validation scenarios.
* Fixes for const in body.
* Fix issues generating properties from constants.
* Validation code fixes and new tests.
* Disable apiVersion test until outstanding modeler4 issue resolved.
* Fix Autorest Swift to support body-array.json, required-optional.json test cases
* Add test cases
* Regenerated code
* Fix AutoswiftSwift to support body-time
* Add test cases for body-time.json
* Add generated code for body-time
* Fix compile warning
* Add test cases for header and body-array
* Add test cases for body-array
* Add test cases for body-array
* Comment out failing test.
Co-authored-by: Travis Prescott <trpresco@microsoft.com>
* Use serialized name as key for query parameters
* Use self.client in PageCollection
* Look up api version from operation
* Handle endpoint and apiVersion variable in client
* Refactor ZZZAutoRestReportTest.swift
* Refactor Datetime formatter
* Refactor templates
* Fix for number.json test case
* Revert "Refactor ZZZAutoRestReportTest.swift"
This reverts commit 5bef83b1ca.
* Revert change in templates/OperationResponseJsonDecoderSnippet.stencil
* Fix for body-array.json
* Refactor OperationResponseBodySnippet.stencil
* Remove unnecesary files
* Always call 'make install' before generating code for test swagger
* WIP
* Fix XCode project and deleted unnecessary stencil
* Code compile
* Refactor
* Refactor
* Test cases and Generated code for paging.json (#278)
* Add generated code for paging.json
* Add test case for paging.json
* Add test case for paging.json
* Address PR feedback
* Address PR feedback
* Use serialized name as key for query parameters
* Use self.client in PageCollection
* Look up api version from operation
* Handle endpoint and apiVersion variable in client
* Refactor ZZZAutoRestReportTest.swift
* Refactor Datetime formatter
* Refactor templates
* Fix for number.json test case
* Revert "Refactor ZZZAutoRestReportTest.swift"
This reverts commit 5bef83b1ca.
* Revert change in templates/OperationResponseJsonDecoderSnippet.stencil
* Fix for body-array.json
* Refactor OperationResponseBodySnippet.stencil
* Remove unnecesary files
* Always call 'make install' before generating code for test swagger
* Refactor sending Date, DateTime in json request body
* Add XCode project change
* Fix Response body encoding when body is an array of Date
* Address PR feedback
* New test cases for body-date.json, body-datetime.json, body-datetime-rfc1123.json, body-array.json (#272)
* Add new test cases for body-date, body-datetime, body-datetime-rfc1123
* Add new test cases in AutoRestNumberTest.swift
* Add generated test code
* Checkin the test/integration/generated/body-date/Source/DateOperation.swift
* Add test cases for body-array.json
* Add new test cases for AutorestSwiftTest/AutoRestSwaggerBatArrayTest.swift
* Add generated code
* Add regenerated code
* Regenerated test code
Co-authored-by: Travis Prescott <tjprescott@users.noreply.github.com>
* Use serialized name as key for query parameters
* Use self.client in PageCollection
* Look up api version from operation
* Handle endpoint and apiVersion variable in client
* Enchance test_chat_swagger.py to support more scenarios
* Commit generated code
* Regenerate test swagger code
* Address PR feedback
* Bug fix scripts/test_chat_swagger.py
* Add test case for body-date.json
* Refactor how KeyValueViewModel.swift gets values
* Fix AutorestSwift to support body-date.json, body-datetime.json, body-datetime-rfc1123.json
* Support body-date body-datetime body-dattimerfc1123
* template refactoring
* Add test cases for date, datetime, datetime rfc1123
* Add generated code
* Remove test case AutorestSwiftTest/AutoRestDateTest.swift
* Remove test case AutorestSwiftTest/AutoRestDateTest.swift
* Add ../scripts/testserver_codegen.py
* Fix merge issue
* Alterations to generate AzureStorageBlob.
* Stop using serializedName in place of name.
* Regenerate test code.
* Restore commented out asserts, and code review feedback.
* Add test cases for body-boolean.json
* Add test cases for body-boolean.json
* For query parameter, wrap boolean with String object. For body, just pass the boolean to JSONEncoder
* For query parameter, wrap boolean with String object. For body, just pass the boolean to JSONEncoder
* Add test cases for body-byte.json
* Add putBase64UrlEncoded test case
* Remove unnecessary file
* Remove create project option in testserver_codegen.py
* Add generated code for body-number.json
* Change default swift type for Number from Float to Double
* Add test case for AutorestSwiftTest/AutoRestNumberTest.swift
* Update to use decimal
* All code compiled
* Refactor
* All code compiled. 5 number test failed
* Refactor
* Fix compile warnings in test case
* WIP. All generated code compiled. But test cases failed to compile
* Add generated code for header.json
* Bug fix
* Bug fix
* Bug fix. Fix broken tests
* Refactor
* Refactor
* All generated code compiled
* Add decode Demical to String
* Refactor
* Change to use param.name
* WIP
* WIP
* WIP
* Fix compile error
* WIP. all generated code compiled
* WIP. All geneerated code compiled
* WIP. All geneerated code compiled
* WIP. All geneerated code compiled
* WIP. All geneerated code compiled
* WIP. All geneerated code compiled
* WIP
* Regenerate test code
* Fix compile issue
* Refactor
* Bug fixes.
* Bug fix:
* Address PR feedback
* Fix compile warnings and all test cases passed
* Refactor
* Refactor
* Refactor
* Merge changes
* WIP. All tests passed
* All generated code compile. All test cases pass
* Refactor
* Refactor
* Refactor
* Address PR feedback
* Add asserts
* Use property name in find property from an array
* Fix compile eror in generated code
* Changes to enabel required-optional.json to compile
* Add generated code for required-optional
* Change testserver_codegen.py to support single file swagger name
* Fix autorest to compile body-array.json
* Fix autorest swift to generate code for body-array.json
* add generated code for body-array.json
* Add support for Rfc1123 datetime format
* Regeneate test code
* Add new test cases for url.json
* Add new test cases for url.json
* WIP
* Combine templates/OperationMethodDecodingSnippet.stencil with templates/OperationDecodingSnippet.stencil
* Refactor
* Fix UnixTime encoding
* Remove unnecesary file
* Refactor
* Refactor
* Add test cases for body-byte.json
* Add putBase64UrlEncoded test case
* Remove unnecessary file
* Remove create project option in testserver_codegen.py
* Add generated code for body-number.json
* Change default swift type for Number from Float to Double
* Add test case for AutorestSwiftTest/AutoRestNumberTest.swift
* Update to use decimal
* All code compiled
* Refactor
* All code compiled. 5 number test failed
* Refactor
* Fix compile warnings in test case
* WIP. All generated code compiled. But test cases failed to compile
* Add generated code for header.json
* Bug fix
* Bug fix
* Bug fix. Fix broken tests
* Refactor
* Refactor
* All generated code compiled
* Add decode Demical to String
* Refactor
* Change to use param.name
* WIP
* WIP
* WIP
* Fix compile error
* WIP. all generated code compiled
* WIP. All geneerated code compiled
* WIP. All geneerated code compiled
* WIP. All geneerated code compiled
* WIP. All geneerated code compiled
* WIP. All geneerated code compiled
* WIP
* Regenerate test code
* Fix compile issue
* Refactor
* Bug fixes.
* Bug fix:
* Address PR feedback
* Fix compile warnings and all test cases passed
* Refactor
* Refactor
* Refactor
* Merge changes
* WIP. All tests passed
* All generated code compile. All test cases pass
* Refactor
* Refactor
* Refactor
* Address PR feedback
* Add asserts
* Use property name in find property from an array
* Fix compile eror in generated code
* Changes to enabel required-optional.json to compile
* Add generated code for required-optional
* Change testserver_codegen.py to support single file swagger name
* Regenerated test swagger code
* All generated code compiled
* Generated code for body-array.json
* Fix compile error in generated code
* Add generated code for body-array
* Add test cases for body-byte.json
* Add putBase64UrlEncoded test case
* Remove unnecessary file
* Remove create project option in testserver_codegen.py
* Add generated code for body-number.json
* Change default swift type for Number from Float to Double
* Add test case for AutorestSwiftTest/AutoRestNumberTest.swift
* Update to use decimal
* All code compiled
* Refactor
* All code compiled. 5 number test failed
* Refactor
* Fix compile warnings in test case
* Add decode Demical to String
* Refactor
* Fix compile error
* WIP
* Regenerate test code
* Fix compile issue
* Refactor
* Bug fixes.
* Bug fix:
* Address PR feedback
* Fix compile warnings and all test cases passed
* Refactor
* Refactor
* Refactor
* Create a PropertyViewModel if contants is required
* Refactor
* WIP
* Add test cases for enum in body-string.json
* Revert change in PropertyViewModel
* Address PR feedback
Co-authored-by: Travis Prescott <tjprescott@users.noreply.github.com>
* Add PutNull test case
* Remove default value in body param of signature
* Body parameter should not in Options struct
* look for body parameter in request parameter
* Fix putSimpleProductWithGrouping not able to compile issue
* Decode byteArray in response body
* Refactor test cases
* Cleanup test caess
* Regenerated code after merge
* Add PutNull test case
* Remove default value in body param of signature
* Body parameter should not in Options struct
* look for body parameter in request parameter
* Fix putSimpleProductWithGrouping not able to compile issue
* Decode byteArray in response body
* Cleanup
* Address PR feedback
* Address PR feedback
* Upgrade autorest testserver version and regenerate the code
* Remvoe UserInterfaceState.xcuserstate from version control
* Support PathItems test cases
* Remove default empty string in query param
* Add support to encode UnixTime
* Address PR Feedback
* Fix Report
* Get test coverage
* Get test coverage in AutoRestReportTest.swift
* Fix merge conflicts
* Address PR feedback
* Address PR feedback
* Fix XC project
* Remvoe UserInterfaceState.xcuserstate from version control
* Support PathItems test cases
* Remove default empty string in query param
* Address PR feedback
* Address PR feedback
* Support encode unixTime in request body (#225)
* Add support to encode UnixTime
* Address PR Feedback
* Address PR feedback
* Address PR feedback
* Address PR feedback
* Address PR feedback
* Address PR feedback
* Address PR feedback
* Remove constantValue in KeyValueModel
* Simpify format value for type
* Simpify format value for type
* Remove source in KeyValueModel
* Address PR feedback
* Add generated code per new change
* Remove unnecessary stencil file
* Refactor KeyValueViewModel.swift
* Remove unused condition in OperationMethodDecodingSnippet.stencil
* Simplify KeyValueDecodeStrategy
* Initial commit of tests.
* Write the tests they way I think they *should* look. Requires modification to code gen.
* Fix issue with defaults in initializers.
* Fix default nil in method signatures.
* Fix issue with GroupSchema model generation.
* Comment out failing tests.
* Add skipUrlEncoding in generated code
* Add skipUrlEncoding in generated code
* Add skipUrlEncoding in generated code
* Add skipUrlEncoding in generated code
* Add test_Paths_enumValid200 test case
* Fix code generator to generate different code for date and datetime
* Add int/double/float tests
* Cleanup
* Add generated test code per changes
* Add generated test code per changes
* Add skipUrlEncoding in generated code
* Add skipUrlEncoding in generated code
* Add skipUrlEncoding in generated code
* Add skipUrlEncoding in generated code
* Add test_Paths_enumValid200 test case
* Fix code generator to generate different code for date and datetime
* Address PR feedback
* Update
* Update for PR review
Co-authored-by: Travis Prescott <tjprescott@users.noreply.github.com>
* Fix autorest swift to support AutoRestUrlTest
* Add new generated code from changes in Autorest swift
* Add test cases for url.json
* Remove failed expectation in test cases
* Address PR feedback
* Update Xcode project