256 Commits

Author SHA1 Message Date
Davide Bianchi
a950dcc879 Merge pull request #28 from davidebianchi/dependabot/go_modules/github.com/getkin/kin-openapi-0.60.0
chore(deps): bump github.com/getkin/kin-openapi from 0.53.0 to 0.60.0
2021-04-26 18:54:00 +02:00
dependabot-preview[bot]
1fe64517bd chore(deps): bump github.com/getkin/kin-openapi from 0.53.0 to 0.60.0
Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi) from 0.53.0 to 0.60.0.
- [Release notes](https://github.com/getkin/kin-openapi/releases)
- [Commits](https://github.com/getkin/kin-openapi/compare/v0.53.0...v0.60.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-26 06:34:55 +00:00
Davide Bianchi
651f2d0478 Merge pull request #25 from davidebianchi/dependabot/go_modules/github.com/getkin/kin-openapi-0.53.0
chore(deps): bump github.com/getkin/kin-openapi from 0.48.0 to 0.53.0
2021-04-03 18:57:28 +02:00
dependabot-preview[bot]
22cf8cdbc4 chore(deps): bump github.com/getkin/kin-openapi from 0.48.0 to 0.53.0
Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi) from 0.48.0 to 0.53.0.
- [Release notes](https://github.com/getkin/kin-openapi/releases)
- [Commits](https://github.com/getkin/kin-openapi/compare/v0.48.0...v0.53.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-24 06:58:26 +00:00
Davide Bianchi
2d310b15e1 Merge pull request #21 from davidebianchi/dependabot/go_modules/github.com/getkin/kin-openapi-0.48.0
chore(deps): bump github.com/getkin/kin-openapi from 0.39.0 to 0.48.0
2021-03-07 18:14:05 +01:00
dependabot-preview[bot]
b77a71d0e4 chore(deps): bump github.com/getkin/kin-openapi from 0.39.0 to 0.48.0
Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi) from 0.39.0 to 0.48.0.
- [Release notes](https://github.com/getkin/kin-openapi/releases)
- [Commits](https://github.com/getkin/kin-openapi/compare/v0.39.0...v0.48.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-05 07:01:19 +00:00
Davide Bianchi
7f240250d5 Create CHANGELOG.md 2021-02-07 18:19:23 +01:00
Davide Bianchi
3b0f5b33eb Merge pull request #15 from davidebianchi/dependabot/go_modules/github.com/stretchr/testify-1.7.0
chore(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0
2021-02-07 18:17:45 +01:00
dependabot-preview[bot]
6c8a4b5cdf chore(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.6.1...v1.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-07 17:04:21 +00:00
Davide Bianchi
04774f8ed5 update deps 2021-02-07 18:02:52 +01:00
Davide Bianchi
741e8f37dd Update README.md v0.1.0 2021-02-07 17:44:45 +01:00
Davide Bianchi
5546ae3af2 Update README.md 2021-02-07 17:44:32 +01:00
Davide Bianchi
47fe0e5f93 Update README.md 2021-02-07 17:44:05 +01:00
Davide Bianchi
b58096bc68 Merge pull request #7 from fredmaggiowski/feat/verify-oneOf-support 2021-02-07 17:28:09 +01:00
Davide Bianchi
8eb0f1e313 feat: add first level oneOf test 2021-02-07 17:26:21 +01:00
Federico Maggi
a72ca87d93 test: verified oneOf support for properties 2021-02-07 17:05:43 +01:00
Davide Bianchi
84e419bec2 Merge pull request #11 from davidebianchi/custom-docs-path
feat: add custom documentation path
2021-01-27 00:33:27 +01:00
Davide Bianchi
5d8b8c0a03 feat: add custom documentation path 2021-01-27 00:29:57 +01:00
Davide Bianchi
92eb124067 Merge pull request #10 from davidebianchi/expose-yaml
feat: expose yaml
2021-01-27 00:10:17 +01:00
Davide Bianchi
cef2f3ff83 feat: expose yaml 2021-01-27 00:02:41 +01:00
Davide Bianchi
345c3567df refactor: use constants for mime-type in test 2021-01-17 22:22:09 +01:00
Davide Bianchi
cf8a06bb0a Merge pull request #9 from davidebianchi/anyof
Verify anyOf support
2021-01-17 22:01:06 +01:00
Davide Bianchi
a9941231ed test: add test to anyOf swagger spec 2021-01-17 21:58:32 +01:00
Davide Bianchi
c1c0f8e3b1 docs: update README 2021-01-17 20:42:30 +01:00
Davide Bianchi
526159621e Merge pull request #8 from davidebianchi/allof-support 2021-01-17 20:36:54 +01:00
Davide Bianchi
d9a768c295 Update operation.go 2021-01-17 20:34:15 +01:00
Davide Bianchi
28011e0c4d Update operation.go 2021-01-17 20:34:09 +01:00
Davide Bianchi
56684e181f Update route_test.go 2021-01-17 20:34:01 +01:00
Davide Bianchi
0a398ef94b feat: use lib Operation instead of openapi3 in private methods 2021-01-17 20:32:38 +01:00
Davide Bianchi
dc3bb7035b chore: upgrade deps 2021-01-17 19:27:59 +01:00
Davide Bianchi
8e18f2ec3e feat: add dev friendly methods to add correct request body and responses 2021-01-17 19:25:04 +01:00
Davide Bianchi
15387573aa docs: add to FAQ 2021-01-06 18:58:57 +01:00
Davide Bianchi
223a535b89 feat: tested the allOf support 2021-01-06 18:52:44 +01:00
Davide Bianchi
df11a7052d Merge pull request #6 from fredmaggiowski/feat/new-entrypoint-and-using-constants 2020-11-25 17:55:48 +01:00
Federico Maggi
e3f3c67203 refactor: renamed gswagger.New to gswagger.NewRouter 2020-11-25 17:49:34 +01:00
Davide Bianchi
05ad494778 docs: add docs 2020-10-21 00:16:36 +02:00
Davide Bianchi
ae2b97fcdf Merge pull request #3 from davidebianchi/content 2020-10-20 09:27:03 +02:00
Davide Bianchi
0478e6a56a feat: handle content in request body and responses 2020-10-20 01:41:47 +02:00
Davide Bianchi
58fa435824 feat: handle content in parameters 2020-10-20 00:10:56 +02:00
Davide Bianchi
a0a8f559cd Merge pull request #2 from davidebianchi/handle-request-response 2020-10-18 00:32:55 +02:00
Davide Bianchi
185f2d113b run go mod tidy 2020-10-18 00:31:42 +02:00
Davide Bianchi
24755b84e9 feat: fixed and add test to route 2020-10-18 00:30:34 +02:00
Davide Bianchi
8dff4afe09 feat: sort params in creation. In this manner, the params order is the ever same 2020-10-17 00:50:15 +02:00
Davide Bianchi
169ca8e4a3 feat: handle all oas3 parameters 2020-10-17 00:13:02 +02:00
Davide Bianchi
8f8a7dbf7d feat: handle params and query in swagger 2020-10-16 09:46:27 +02:00
Davide Bianchi
e31c44beef test: add test to swagger generation. Fix returned content-type 2020-10-15 00:39:53 +02:00
Davide Bianchi
abf3da2a6f test: complete New function test coverage 2020-10-14 23:54:19 +02:00
Davide Bianchi
5e7af61ad8 feat: remove unused option 2020-10-14 23:17:06 +02:00
Davide Bianchi
fd0b235774 feat: remove ServeHTTP method. Use the external mux router method instead 2020-10-14 23:14:42 +02:00
Davide Bianchi
ec6788e607 refactor: remove unused code and add function doc 2020-10-14 23:11:19 +02:00