forked from loafle/openapi-generator-original
* Feature/objc tasks 2.3.0 (#3522) * change api and ApiClient to return cancellable NSURLSessionTasks instead of NSNumber * define a configuration protocol for custom configurations, which can be passed to api clients instead of a global configuration, provide a default implementation with a singleton option * integrate a workaround for a current JSONModel concurrency bug * update to new ISO8601 pod * add missing call to super * integrate new templates into codegen * updates documentation templates * updates petstore objc generated code * fixes objc client tests * [ObjC] Add version define and share default headers of each client * add finch generator and resource * update license, add errros * Fix problem with multitheard api client * fix some errors for finch * [finch] Remove license header * [finch] Remove finatra stuff, fix a few issues * WIP: Finch server generator * [finch] WIP: server generator impl This puts parameters (input/output) in the right format. Currently, this is done in the generator class using vendorExtensions, but should be refactored to imported templates to clean up. Previous commits of the server generator output to appropriate models/api directories. I've made no changes to this logic, but code currently generates to the root scala package directory. This will need to be fixed. There's also an issue with circe's and Option[Date] in the Order type. This issue will need to be resolved. As well, there's some unused imports to clean up. Initial implementation lacks support for custom imports, type mappings, etc. * [finch] Update api/model package and imports * [finch] Explicit import/type mappings * [finch] Regenerate example
38 lines
1.4 KiB
Ruby
38 lines
1.4 KiB
Ruby
#
|
|
# Be sure to run `pod lib lint SwaggerClient.podspec' to ensure this is a
|
|
# valid spec and remove all comments before submitting the spec.
|
|
#
|
|
# Any lines starting with a # are optional, but encouraged
|
|
#
|
|
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
|
|
#
|
|
|
|
Pod::Spec.new do |s|
|
|
s.name = "SwaggerClient"
|
|
s.version = "1.0.0"
|
|
|
|
s.summary = "Swagger Petstore"
|
|
s.description = <<-DESC
|
|
This is a sample server Petstore server. You can find out more about Swagger at <a href=\"http://swagger.io\">http://swagger.io</a> or on irc.freenode.net, #swagger. For this sample, you can use the api key \"special-key\" to test the authorization filters
|
|
DESC
|
|
|
|
s.platform = :ios, '7.0'
|
|
s.requires_arc = true
|
|
|
|
s.framework = 'SystemConfiguration'
|
|
|
|
s.homepage = "https://github.com/swagger-api/swagger-codegen"
|
|
s.license = "Apache License, Version 2.0"
|
|
s.source = { :git => "https://github.com/swagger-api/swagger-codegen.git", :tag => "#{s.version}" }
|
|
s.author = { "Swagger" => "apiteam@swagger.io" }
|
|
|
|
s.source_files = 'SwaggerClient/**/*.{m,h}'
|
|
s.public_header_files = 'SwaggerClient/**/*.h'
|
|
|
|
|
|
s.dependency 'AFNetworking', '~> 3'
|
|
s.dependency 'JSONModel', '~> 1.2'
|
|
s.dependency 'ISO8601', '~> 0.6'
|
|
end
|
|
|