Skip to content

Feature/new request handling logic inter 767 #96

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 37 commits into from
Jul 30, 2024
Merged
Show file tree
Hide file tree
Changes from 33 commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
26e984f
feat: only generate models and docs from swagger codegen
Orkuncakilkaya Jul 10, 2024
ec7c274
chore: remove templates for api client and api doc
Orkuncakilkaya Jul 10, 2024
0016822
feat: rewrite request logic
Orkuncakilkaya Jul 15, 2024
dfcea98
chore(ci): update minimum php version to 8.1
Orkuncakilkaya Jul 15, 2024
a3157a8
docs(api): add fingerprint api doc
Orkuncakilkaya Jul 15, 2024
d62eac6
refactor: add return for methods
Orkuncakilkaya Jul 15, 2024
9b01ba6
feat: introduce rawResponse for getVisits and getEvent methods
Orkuncakilkaya Jul 16, 2024
8726f6b
refactor: set integration info on constructor
Orkuncakilkaya Jul 16, 2024
f7bb343
refactor: introduce with raw response trait
Orkuncakilkaya Jul 16, 2024
a3df26c
refactor: rename duplicate variables
Orkuncakilkaya Jul 16, 2024
8989f57
chore(generator): update raw response models to an array
Orkuncakilkaya Jul 16, 2024
650b7b5
chore: merge from develop
Orkuncakilkaya Jul 17, 2024
90f3bb1
docs(api): add fingerprint api doc
Orkuncakilkaya Jul 17, 2024
91c550e
docs(api): fix styling
Orkuncakilkaya Jul 17, 2024
5daa81c
refactor: remove redundant functions from api
Orkuncakilkaya Jul 19, 2024
a6b7a7d
refactor: fix body params condition
Orkuncakilkaya Jul 23, 2024
3f6aabc
refactor: generate fingerprint api for temp body fix
Orkuncakilkaya Jul 23, 2024
0c9aca8
docs(api): fix spacings
Orkuncakilkaya Jul 23, 2024
36d6f9e
chore: add php cs fixer cache to gitignore
Orkuncakilkaya Jul 23, 2024
a31a1eb
chore: add php cs fixer to pre commit
Orkuncakilkaya Jul 23, 2024
151f7cc
chore: add unknown field tests
Orkuncakilkaya Jul 23, 2024
fe587ee
chore: extend unknown field from event test case
Orkuncakilkaya Jul 23, 2024
9578f1e
refactor: remove header selector
Orkuncakilkaya Jul 23, 2024
ce2fedf
feat: remove raw response and introduce with http info
Orkuncakilkaya Jul 23, 2024
9da81d3
chore: php cs fixer
Orkuncakilkaya Jul 23, 2024
cce2ee4
chore: add style fixer to generate script
Orkuncakilkaya Jul 23, 2024
66d9015
chore: style fix to tests
Orkuncakilkaya Jul 23, 2024
62e4ad3
feat: change api to return tuple instead of serialized model
Orkuncakilkaya Jul 24, 2024
f6b7659
refactor: remove discriminator from object serializer and remove its …
Orkuncakilkaya Jul 24, 2024
bfea23a
feat: introduce serialization exception
Orkuncakilkaya Jul 24, 2024
6e0d193
refactor: add previous exception for serialization exception
Orkuncakilkaya Jul 25, 2024
7e154d9
refactor: change error handling
Orkuncakilkaya Jul 25, 2024
abb338b
refactor: code style and error handling
Orkuncakilkaya Jul 26, 2024
b8a89cf
refactor: update pre commit
Orkuncakilkaya Jul 26, 2024
ae7c93a
refactor: update composer dependencies
Orkuncakilkaya Jul 26, 2024
15b71da
refactor: update model comment header
Orkuncakilkaya Jul 26, 2024
c2c3d14
refactor: remove psr 1 and psr 2 from cs fixer
Orkuncakilkaya Jul 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .git_hooks/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

docker-compose run --rm lint
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
.vscode
.env
release/yarn-error.log
release/node_modules
release/node_modules
.php-cs-fixer.cache
23 changes: 23 additions & 0 deletions .php-cs-fixer.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php

return (new PhpCsFixer\Config())
->setRules([
'@PSR1' => true,
'@PSR2' => true,
'@PSR12' => true,
'@PhpCsFixer' => true,
'array_indentation' => true,
'trailing_comma_in_multiline' => ['elements' => ['arrays']],
'no_whitespace_before_comma_in_array' => true,
'whitespace_after_comma_in_array' => true,
'array_syntax' => ['syntax' => 'short'],
'binary_operator_spaces' => [
'default' => 'single_space',
'operators' => ['=>' => null],
],
'multiline_whitespace_before_semicolons' => false,
])
->setFinder(
PhpCsFixer\Finder::create()
->in(__DIR__)
);
4 changes: 3 additions & 1 deletion .swagger-codegen-ignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ src/phpunit.xml.dist
src/.travis.yml
src/.php_cs
src/git_push.sh
src/test/**
src/test/**
src/HeaderSelector.php
src/ObjectSerializer.php
9 changes: 4 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,16 @@
"ext-mbstring": "*",
"guzzlehttp/guzzle": "~7.2",
"ext-zlib": "*",
"ext-openssl": "*"
"ext-openssl": "*",
"vlucas/phpdotenv": "^5.6"
},
"require-dev": {
"phpunit/phpunit": "8.5.33",
"squizlabs/php_codesniffer": "~2.6",
"friendsofphp/php-cs-fixer": "~2.19"
"phpunit/phpunit": "8.5.33"
},
"autoload": {
"psr-4": { "Fingerprint\\ServerAPI\\" : "./src" }
},
"autoload-dev": {
"psr-4": { "Fingerprint\\ServerAPI\\" : "test/" }
}
}
}
Loading