-
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
Open
mageshb
wants to merge
13
commits into
biocad:master
Choose a base branch
from
byteally:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
1fabcac
Extension support for
mageshb 6b91492
Merge pull request #1 from biocad/master
zzat 2a4d092
explicit ToEncoding for Schema and Referenced
ersran9 d0d79a7
Made SubObjects as List and Added extensions for following
mageshb 29f3a42
Merge branch 'master' of github.com:byteally/openapi3
mageshb 7a30d5a
Fixed the tests
mageshb 74d169e
Merge branch 'master' of https://github.com/biocad/openapi3 into bioc…
ersran9 a06c485
Made SubObjects as List and Added extensions for following
mageshb 6a62b6c
Fixed the tests
mageshb 0088a5d
Fix aeson compat issues and some more conflicts
ersran9 e85f2ad
Merge branch 'master' of github.com:byteally/openapi3
ersran9 d40655f
Add qualification for compat fun
ersran9 0a69890
Add explicit toEncoding for OpenApiItems and SpecficationExtensions
ersran9 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -119,6 +119,7 @@ module Data.OpenApi ( | |
-- ** Miscellaneous | ||
MimeList(..), | ||
URL(..), | ||
SpecificationExtensions(..), | ||
) where | ||
|
||
import Data.OpenApi.Lens | ||
|
@@ -184,7 +185,6 @@ import Data.OpenApi.Internal | |
-- "title": "Todo API", | ||
-- "version": "1.0" | ||
-- } | ||
|
||
-- | ||
-- This can be useful for combining specifications of endpoints into a whole API specification: | ||
-- | ||
|
@@ -412,7 +412,6 @@ import Data.OpenApi.Internal | |
-- ], | ||
-- "type": "object" | ||
-- } | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 :) |
||
-- $manipulation | ||
-- Sometimes you have to work with an imported or generated @'Swagger'@. | ||
-- For instance, <servant-swagger http://hackage.haskell.org/package/servant-swagger> generates basic @'Swagger'@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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!