-
Notifications
You must be signed in to change notification settings - Fork 0
feat(7): openApiGenerator #8
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
base: 0.x
Are you sure you want to change the base?
Conversation
Coverage Report
File Coverage
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
attendre l'ajout des descriptors |
| (schema) => ({ | ||
| required: <const>true, | ||
| content: { | ||
| "application/json": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ajouter le support du text/plain : si n'est pas un DP object -> text/plain (mime type a vérifier)
| O.fromEntries, | ||
| ); | ||
|
|
||
| const schemaComponents = A.reduce( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utilisé un G reduce
| "application/json": { | ||
| schema: { | ||
| anyOf: [ | ||
| lastValue[code]?.content["application/json"].schema, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
retiré le "?." il est confusant
| ({ lastValue, element, nextWithObject }) => nextWithObject( | ||
| lastValue, | ||
| { | ||
| ...lastValue, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pq srpead lastValue alors que tu est dans un nextWithObject ?
close #7