-
Notifications
You must be signed in to change notification settings - Fork 38
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
GTD-2: API reference improvements #48
Merged
MatMoore
merged 33 commits into
alphagov:master
from
ConvivioTeam:GTD-2-api-reference-improvements
Sep 12, 2018
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
d6358f3
Moved rendering into a separate class
lewisnyman ae6b562
Move operations rendering into a seperate file
lewisnyman 0a59bd0
Moved paramters rendering into a seperate file
lewisnyman 4e27939
Moved responses rendering into a seperate file
lewisnyman b054506
Add support for enum type in parameters
mikebell e21bec7
Fix inserting schema objects with api_schema>
mikebell dabc682
Render schemas below an individual path
lewisnyman fdbdbc8
Add paragraph tags to enum parameters
lewisnyman d134307
Add schema link support to nested schema objects. Move functionality …
lewisnyman 8156fa8
Also print schema links to reference within schema array properties
lewisnyman 38b3af1
Add start of json response output
mikebell 35b2386
Simplified the json output generation for the response body
lewisnyman 0d7599f
Lovely pretty JSON
lewisnyman b601b4e
Display referenced data structures in response bodies
lewisnyman b315d2d
Remove extra table row and space
mikebell 0b229ec
Support array type in responses
mikebell 61f9b97
Prevented response bodies from breaking page layout
lewisnyman fd28f5f
Printed nested references to schemas, currently one level deep
lewisnyman b6cc92f
Recursively render schemas referenced by other schemas referenced by …
lewisnyman 369ae2b
Start of allOf support
mikebell 4a2804c
Merge branch 'json-response-output' of github.com:ConvivioTeam/tech-d…
mikebell 66cb0e6
Render AllOf properties
lewisnyman 8ccf86e
Do not print schema links of properties of referenced schema objects
lewisnyman 31c02fd
Print schema objects referenced in arrays for single paths
lewisnyman aaef8d5
Add AllOf support to schemas referenced by a single printed path
lewisnyman b51feec
Support example responses inline
mikebell f593b79
Pretty print example response
mikebell aa920b3
Add support for markdown in response descriptions
mikebell ff44e27
Correctly render nested array and items, with allOf support, in respo…
lewisnyman 5a08292
Merge branch 'json-response-output' into GTD-2-api-reference-improvem…
mikebell a93c41f
Fixed the rendering of schemas on a single path, the template expects…
lewisnyman 89aa8a1
Fixed linting errors
lewisnyman b2ce26b
Update tests
lewisnyman 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
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.
is
schema.properties
a hash? If so you can just doproperties = schema.properties.values
.