-
Notifications
You must be signed in to change notification settings - Fork 55
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
Support for Specification Extensions #11 #21
base: master
Are you sure you want to change the base?
Conversation
OpenAPI Info Contact License Server ServerVariable PathItem Operation RequestBody MediaType Encoding Example Link Response Tag
Merge biocad/openapi3
ExternalDocumentation Responses Schema XML Security Scheme OAUTH Flows OAUTH Flow
Hi! Can you please merge master to your branch, so that there are no conflicts? |
Sure, Will send in updated one |
ExternalDocumentation Responses Schema XML Security Scheme OAUTH Flows OAUTH Flow
Compiles with 9.2 now
@@ -412,7 +412,6 @@ import Data.OpenApi.Internal | |||
-- ], | |||
-- "type": "object" | |||
-- } | |||
|
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.
this empty line is crucial, it separates a new section "manipulation" from the previous one. please bring it back :)
@@ -184,7 +185,6 @@ import Data.OpenApi.Internal | |||
-- "title": "Todo API", | |||
-- "version": "1.0" | |||
-- } | |||
|
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.
thanks for the catch!
in pairs (pairsToSeries (opts ^. saoAdditionalPairs) <> ps) | ||
where | ||
proxy = Proxy :: Proxy a | ||
defs = hcpure (Proxy :: Proxy AesonDefaultValue) defaultValue |
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.
why is this different from (aesonDefaults proxy)
in sopSwaggerGenericToEncoding
?
Fixes #11