Skip to content

Commit

Permalink
ruby config
Browse files Browse the repository at this point in the history
  • Loading branch information
fcarrero committed Jul 31, 2023
1 parent f97f566 commit 5b81a3c
Show file tree
Hide file tree
Showing 6 changed files with 471 additions and 13 deletions.
15 changes: 7 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,12 @@ go:
--additional-properties=hideGenerationTimestamp=true

ruby:
mkdir -p conekta-ruby &&
cp .openapi-generator-ignore conekta-ruby/.openapi-generator-ignore && \
npx @openapitools/openapi-generator-cli generate \
-i api.yaml \
-g ruby \
-o ../conekta-ruby \
-c config-ruby.json
-c config-ruby.json \
--global-property modelTests=false

csharp:
mkdir -p conekta-.net && \
Expand All @@ -56,11 +55,11 @@ csharp:

php:
npx @openapitools/openapi-generator-cli generate \
-i api.yaml \
-g php \
-o ../conekta-php \
-c config-php.json \
--global-property modelTests=false
-i api.yaml \
-g php \
-o ../conekta-php \
-c config-php.json \
--global-property modelTests=false

node:
rm -rf ../conekta-node/api && \
Expand Down
2 changes: 1 addition & 1 deletion _build/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11330,7 +11330,7 @@ components:
properties:
description:
description: Description of the rule
example: this client's email was verified at 20/09/22 by internal process
example: this client email was verified at 20/09/22 by internal process
type: string
field:
description: Field to be used for the rule
Expand Down
16 changes: 13 additions & 3 deletions config-ruby.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,30 @@
"gemAuthor": "Conekta",
"gemName" : "conekta",
"gemLicense": "MIT",
"gemVersion": "4.0.0",
"gemVersion": "6.0.0",
"hideGenerationTimestamp": false,
"moduleName": "Conekta",
"gemSummary" : "%q{This library provides https://api.conekta.io operations}",
"gemHomepage" : "https://www.conekta.com",
"gemDescription" : "%q{Ruby library for https://api.conekta.io}",
"library": "faraday",
"httpUserAgent": "Conekta/v2 RubyBindings/4.0.0",
"httpUserAgent": "Conekta/v2 RubyBindings/#{Conekta::VERSION}",
"gemRequiredRubyVersion" : ">= 2.6",
"templateDir": "templates/ruby",
"gitUserId" : "conekta",
"gitRepoId" : "conekta-ruby",
"files": {
"CODE_OF_CONDUCT.md" : {},
"AUTHORS.md" : {},
"LICENSE" : {}
"CONTRIBUTING.md" : {},
"LICENSE" : {},
"conekta.png" : {},
"ssl_data/ca_bundle.crt": {
"destinationFilename": "lib/ssl_data/ca_bundle.crt"
},
"CUSTOM_VERSION.mustache" : {
"templateType": "SupportingFiles",
"destinationFilename": "VERSION"
}
}
}
2 changes: 1 addition & 1 deletion schemas/antifraud/create_risk_rules_data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ required:
properties:
description:
type: string
example: "this client's email was verified at 20/09/22 by internal process"
example: "this client email was verified at 20/09/22 by internal process"
description: 'Description of the rule'
field:
type: string
Expand Down
1 change: 1 addition & 0 deletions templates/ruby/CUSTOM_VERSION.mustache
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{{gemVersion}}
Loading

0 comments on commit 5b81a3c

Please sign in to comment.