Comments (2)
Hi @geoah, thank you very much for your extensive feedback! We've just added a more detailed specification for additionalData and we are also exploring better ways for displaying it.
-
You are right, [itemNr] should be replaced with a specific number. The problem here is that this is not a pure array, so this was the only way we saw for describing such elements in a spec. Please let me know if we can do this differently and make it more usable for you.
-
We will look into this in future updates to the spec.
3 and 4. We didn't describe them before, but it's definitely on our list.
-
Thanks, we'll fix it. But also please keep in mind that everything in additionalData is a string.
-
We are planning to add more information about formats in the future.
-
This is done so because everything is a string in additionalData. Although we can use enums in this case, if this would help.
from adyen-openapi.
With the updated specs today, here is the latest status:
1, 2, 5, 7 - we moved all additionalData
-related models from anyOf
to x-anyOf
. This way we can still represent data in API Explorer and have it in the specification files for reference purposes, but also we don't expect any strict validation/generation happening with these models.
additionalData
is now specified like this:
"additionalData" : {
"additionalProperties" : {
"type" : "string"
},
"x-anyOf" : [
...
],
"description" : "...",
"type" : "object"
},
Hope this solves all the potential problems with it.
- We've added
securitySchemas
:
"securitySchemes" : {
"ApiKeyAuth" : {
"in" : "header",
"name" : "X-API-Key",
"type" : "apiKey"
},
"BasicAuth" : {
"scheme" : "basic",
"type" : "http"
}
},
@geoah many thanks again for reporting all this. For now, I'm closing this one, but please feel free to re-open or create more, in case you see more room for improving our OpenAPI files.
from adyen-openapi.
Related Issues (20)
- Terminal API HOT 1
- api-explorer question HOT 3
- FundService v52 /transferFunds response code 202 not in spec HOT 3
- FundService 400 status code responses do not map to a model HOT 2
- CheckoutService-v64.json: KlarnaDetails > type contains default value that is not in enum HOT 2
- Document the Idempotency-Key header HOT 1
- Provide validation information for fields values HOT 1
- Useless Idempotency-Key header causes wrong result from API HOT 1
- Enums have duplicate entries in BalancePlatformService-v1.json HOT 15
- Some OpenAPI files have webhooks but no paths and declare version 3.0.x not 3.1.x HOT 2
- Notification examples do not adhere to defined schema HOT 2
- success is declared as a boolean when it is a string in production and test environments.
- add new fields in webhook json HOT 1
- rename classes which names starting with authorization in webhook json
- POST checkout/payments doesn't document paypal HOT 1
- The 'servers' for each spec only lists test servers, not production URLs HOT 1
- Cvc Required Error for Payments with CardOnFile HOT 2
- BalancePlatformService -> Card -> number is not required
- Nullability lost when generating client using NSwag generator HOT 1
- Found few typos HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adyen-openapi.