mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-07-03 14:10:56 +00:00
Updated petstore swift swagger client.
Enabled execute (755) permissions on swift-petstore.sh Ran integration test (passed).
This commit is contained in:
parent
955d837609
commit
f2bd3d981e
0
bin/swift-petstore.sh
Normal file → Executable file
0
bin/swift-petstore.sh
Normal file → Executable file
23
samples/client/petstore/swift/.swagger-codegen-ignore
Normal file
23
samples/client/petstore/swift/.swagger-codegen-ignore
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# Swagger Codegen Ignore
|
||||||
|
# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen
|
||||||
|
|
||||||
|
# Use this file to prevent files from being overwritten by the generator.
|
||||||
|
# The patterns follow closely to .gitignore or .dockerignore.
|
||||||
|
|
||||||
|
# As an example, the C# client generator defines ApiClient.cs.
|
||||||
|
# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line:
|
||||||
|
#ApiClient.cs
|
||||||
|
|
||||||
|
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
|
||||||
|
#foo/*/qux
|
||||||
|
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
|
||||||
|
|
||||||
|
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
|
||||||
|
#foo/**/qux
|
||||||
|
# Thsi matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
|
||||||
|
|
||||||
|
# You can also negate patterns with an exclamation (!).
|
||||||
|
# For example, you can ignore all files in a docs folder with the file extension .md:
|
||||||
|
#docs/*.md
|
||||||
|
# Then explicitly reverse the ignore rule for a single file:
|
||||||
|
#!docs/README.md
|
@ -107,7 +107,8 @@ class Decoders {
|
|||||||
"yyyy-MM-dd",
|
"yyyy-MM-dd",
|
||||||
"yyyy-MM-dd'T'HH:mm:ssZZZZZ",
|
"yyyy-MM-dd'T'HH:mm:ssZZZZZ",
|
||||||
"yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ",
|
"yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ",
|
||||||
"yyyy-MM-dd'T'HH:mm:ss'Z'"
|
"yyyy-MM-dd'T'HH:mm:ss'Z'",
|
||||||
|
"yyyy-MM-dd'T'HH:mm:ss.SSS"
|
||||||
].map { (format: String) -> NSDateFormatter in
|
].map { (format: String) -> NSDateFormatter in
|
||||||
let formatter = NSDateFormatter()
|
let formatter = NSDateFormatter()
|
||||||
formatter.dateFormat = format
|
formatter.dateFormat = format
|
||||||
|
Loading…
x
Reference in New Issue
Block a user