32 Commits

Author SHA1 Message Date
Nathan Baulch
9f1fa0e440
Fix another batch of spelling typos (#13915)
* Fix typos

* Remove repeated words

* Minor grammar fixes
2022-11-07 21:30:24 +08:00
William Cheng
1065595a9a
Fix integration tests (Travis, CircleCI) (#5672)
* fix php tests

* fix scala tests

* update ts angular v6 rest

* fix user create test

* fix spring cloud test

* comment out user delete

* fix angular v7 tests

* fix user test

* fix tests

* fix go exp tests

* commented out delete user tests

* comment out delete user tests in go openapi 3

* fix clojure tests
2020-03-23 14:01:12 +08:00
Jim Schubert
ea55968737
Evaluating https issues in CircleCI (on top of CiscoM31-maven-h… (#5034)
* replace http with https. Replace http://central.maven.org with https://repo1.maven.org

* replace http://www.apache.org/licenses/LICENSE-2.0 with https://www.apache.org/licenses/LICENSE-2.0

* Force HTTPS for mavenCentral gradle DSL

Co-authored-by: Sebastien Rosset <serosset@cisco.com>
2020-01-18 18:53:05 -05:00
Fabrizio Ferrai
bbfaa90242 [Clojure] Fix tests: stop dashizing props names (#1310)
* [Clojure] Fix tests: stop dashizing props names

* [Clojure] Remove jdk7 tests
2018-10-25 12:19:52 +08:00
William Cheng
e42cac636a update clojure petstore samples 2018-10-16 18:06:05 +08:00
Fabrizio Ferrai
74d70121d1 [Clojure] Add model generation and conforming (#122)
* [Clojure] Add model generation and verification

- Generate clojure.specs from models
- Optionally validate them at runtime (validation is active if
  orchestra.spec.test/instrument is called after specs are imported)
- Coerce the results of the API calls to get objects that conform
  to the spec (e.g. get Date objects for dates and time instead of strings)

* [Clojure] Make model conforming configurable and opt-out

* [Clojure] Move specs from a single file to a ns per model

So that the order of the forms will be resolved by the compiler,
otherwise we'd have to implement a topological ordering.

* [Clojure] Update petstore sample and set automatic decoding off

* [Clojure] Stop testing Clojure generator on Java7

* [Clojure] Fix tests and handling of multiple arity

* [Clojure] Fix tests and add testing for the new decoding feature

* [Clojure] Capitalize names of generated models

* [Clojure] Rename petstore specs to be capitalized

* Revert to lowercase spec names, and postfix the data specs
2018-08-13 15:04:25 +08:00
Fabrizio Ferrai
d7e374504f [Clojure] Add util method to set the api-context globally (#93) 2018-05-18 11:22:02 +08:00
William Cheng
ded082202e
update clojure default value (#377) 2018-05-09 10:30:35 +08:00
Jérémie Bresson
059a3efe46 Regenerate samples (#367) 2018-05-08 16:44:51 +08:00
Jérémie Bresson
7ecd5f3566
Rename "swagger" to "openapi" (#191)
* Rename ".swagger-codegen-ignore" to ".openapi-generator-ignore"
* Rename setGenerateSwaggerMetadata(Boolean) to setGenerateMetadata(Boolean)
* Rename Metadata Folder to .openapi-generator
2018-04-22 21:28:17 +02:00
William Cheng
6959ef9939
Update Clojure Petstore with OpenAPI spec v3 (#181)
* update clojure test

* update with clojure oas3
2018-04-22 16:32:51 +08:00
William Cheng
f79f23865b
update clojure petstore with OAS2 (#117) 2018-04-21 23:06:07 +08:00
Jeremie Bresson
53597764c3 Add OpenAPI spec 3.0 support (beta)
Co-authored-by: Akihito Nakano <sora.akatsuki@gmail.com>
Co-authored-by: Jeremie Bresson <dev@jmini.fr>
Co-authored-by: Jim Schubert <james.schubert@gmail.com>
Co-authored-by: Martin Delille <martin@phonations.com>
Co-authored-by: Tomasz Prus <tomasz.prus@gmail.com>
Co-authored-by: William Cheng <wing328hk@gmail.com>
2018-04-17 09:19:10 +02:00
wing328
999f901d2b update clojure petstore cient 2017-05-27 00:33:49 +08:00
Michael Langford
b1ccaf69ac Updates http-client dependency to correctly handles certificates (#5707)
* Updates http-client dependency to one that correctly handles certificates

This is important as amazon AWS gateway and several other types of certificates will not work correctly due to the old java library used by the 2.0.0 version of http-client.

* Runs the petstore updates switch for clojure

* Runs the petstore updates switch for clojure
2017-05-27 00:27:11 +08:00
wing328
54119a7ac1 roll back clojure petstore to use petstore.json 2017-05-26 22:49:30 +08:00
Paŭlo Ebermann
356774ceb2 Update samples for clojure + dynamic-html. (#5217) 2017-03-27 11:47:56 +08:00
wing328
722bbb8e1f update clojure test cases after restoring to petstore.json (#5043) 2017-03-13 19:43:09 +08:00
wing328
90512e6326 Remove Apache license from API client generators (#4197)
* remove php apache license

* remove apache license from C#

* remove apache license in objc code

* remove license from swift 3 code

* remove apache license from perl code

* remove license from scala code

* remove license from ts, go, android, cpp, scala

* remove license from java api client

* restore clojure petstore files

* remove license from travis file

* clean up apache-related terms in php, ruby, python mustache tempaltes

* remove license from JS API cilent
2016-11-16 21:44:49 +08:00
Ville Skyttä
b4c139f19b Spelling fixes 2016-08-27 02:34:33 +03:00
wing328
a529d9dfe0 push new git_push and .gitinore file 2016-03-12 18:01:53 +08:00
wing328
637bdd2f50 add git_push and gitignore to most client generators 2016-03-12 17:35:25 +08:00
xhh
a42f972dfe Clojure client: update Petstore sample, fix tests 2016-02-29 19:06:12 +08:00
xhh
63092b8923 Clojure client: use case-insensitive checking on JSON MIME 2015-12-09 22:55:49 +08:00
wing328
b122107a80 Merge pull request #1653 from ianmcorvidae/clojure-tweaks
Clojure client: docstrings tweaks
2015-12-08 15:21:45 +08:00
Ian McEwen
4edeed6053 Clojure client: put docstrings in the right place in core.clj. 2015-12-04 10:01:07 -07:00
xhh
4dde0a793d Accessing response status code and headers in Clojure client
Closes #1656
2015-12-04 17:23:57 +08:00
xhh
9d6b1bb224 Support collectionFormat for array parameters in Clojure client
Closes #1655
2015-12-03 17:25:27 +08:00
xhh
afb7e31e21 Add authentications support to Clojure client
Closes #1654
2015-12-03 13:25:59 +08:00
xhh
1358a39d0d Include the petstore clojure client into integration tests 2015-11-19 16:04:27 +08:00
xhh
473aab2d8e Support file uploading in Clojure client 2015-11-18 17:21:32 +08:00
xhh
9cf7cd9ef6 And bin/clojure-petstore.sh and build the petstore clojure client sample 2015-11-17 00:47:12 +08:00