@@ -177,9 +177,9 @@ Output:
177177 "to" : {
178178 "encryptedFoo" : {
179179 "iv" : " 7f1105fb0c684864a189fb3709ce3d28" ,
180- "encryptedKey" : " 67f467d1b653d98411a0c6d3c(...) ffd4c09dd42f713a51bff2b48f937c8" ,
181- "encryptedData" : " b73aabd267517fc09ed72455c2(...) dffb5fa04bf6e6ce9ade1ff514ed6141" ,
182- "publicKeyFingerprint" : " 80810fc13a8319fcf0e2e(...) 82cc3ce671176343cfe8160c2279" ,
180+ "encryptedKey" : " 67f467d1b653d98411a0c6d3c… ffd4c09dd42f713a51bff2b48f937c8" ,
181+ "encryptedData" : " b73aabd267517fc09ed72455c2… dffb5fa04bf6e6ce9ade1ff514ed6141" ,
182+ "publicKeyFingerprint" : " 80810fc13a8319fcf0e2e… 82cc3ce671176343cfe8160c2279" ,
183183 "oaepHashingAlgorithm" : " SHA256"
184184 }
185185 }
@@ -206,10 +206,10 @@ response[:body] =
206206 to: {
207207 encryptedFoo: {
208208 iv: ' e5d313c056c411170bf07ac82ede78c9' ,
209- encryptedKey: ' e3a56746c0f9109d18b3a2652b76(...) f16d8afeff36b2479652f5c24ae7bd' ,
210- encryptedData: ' 809a09d78257af5379df0c454dcdf(...) 353ed59fe72fd4a7735c69da4080e74f' ,
209+ encryptedKey: ' e3a56746c0f9109d18b3a2652b76… f16d8afeff36b2479652f5c24ae7bd' ,
210+ encryptedData: ' 809a09d78257af5379df0c454dcdf… 353ed59fe72fd4a7735c69da4080e74f' ,
211211 oaepHashingAlgorithm: ' SHA256' ,
212- publicKeyFingerprint: ' 80810fc13a8319fcf0e2e(...) 3ce671176343cfe8160c2279'
212+ publicKeyFingerprint: ' 80810fc13a8319fcf0e2e… 3ce671176343cfe8160c2279'
213213 }
214214 }
215215 }
@@ -249,14 +249,14 @@ This method will add the field level encryption in the generated OpenApi client,
249249OpenAPI client can be generated, starting from your OpenAPI Spec / Swagger using the following command:
250250
251251``` shell
252- java -jar openapi-generator-cli.jar generate -i openapi-spec.yaml -l ruby -o out
252+ openapi-generator-cli generate -i openapi-spec.yaml -l ruby -o out
253253```
254254
255255Client library will be generated in the ` out ` folder.
256256
257257See also:
258258
259- - [ OpenAPI Generator (executable) ] ( https://mvnrepository.com/artifact/org.openapitools/openapi-generator-cli )
259+ - [ OpenAPI Generator CLI Installation ] ( https://openapi-generator.tech/docs/installation/ )
260260
261261##### Usage of the ` McAPI::Encryption::OpenAPIInterceptor.install_field_level_encryption ` :
262262
@@ -288,11 +288,11 @@ To use it:
288288
289289 ``` ruby
290290 api_instance = OpenApiService ::ServiceApi .new @api_client
291- body = # ... #
291+ body = # … #
292292 response = api_instance.create_merchants(body)
293293 # requests and responses will be automatically encrypted and decrypted
294294 # accordingly with the configuration object used
295295
296- # ... use the (decrypted) response object here ...
296+ # … use the (decrypted) response object here …
297297 ```
298298
0 commit comments