This repository was archived by the owner on Mar 18, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 35
fixing #37 issue support of definitions for nested objects #38
Open
xxmatyuk
wants to merge
20
commits into
core-api:master
Choose a base branch
from
xxmatyuk:feature/definitions-for-nested-objects
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
20 commits
Select commit
Hold shift + click to select a range
97724ae
fixing #37 issue support of definitions for nested objects
a67ba3a
fix unexpected print
2391f78
py2X<->py3X
aea9c8c
OrderedDict instead of regular dict
5a7bb2a
adding py36 to tox envlist
xxmatyuk 532bfbd
preliminary changes
xxmatyuk 5be9182
bugfixing, enhancements, tests update
xxmatyuk fec8d0e
flake8 warning fix
xxmatyuk 4152782
py2.7 <-> py3.X
xxmatyuk 09a0648
tests run aftermath fixes
xxmatyuk cd49ed4
small change
xxmatyuk 56dea30
statement enhancement
xxmatyuk 2efbdcc
adding docstrings
xxmatyuk 44ebcbe
more sophisticated checks added
xxmatyuk 836aa93
fix typo
xxmatyuk efd7516
py2.X <-> py3.X
xxmatyuk cb565a3
final changes
xxmatyuk ca20480
trying to fix flake8 issue
xxmatyuk 84a1d7b
fixing tests once again
xxmatyuk 34d9cd5
flake8 fix
xxmatyuk 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 hidden or 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.
I'm starting to play with this.
It works for a super simple API using nested definitions, but when I tried to apply it to our whole site I'm getting a 500 and the traceback is giving an
AttributeError
here saying the name property doesn't exist. I'll try to look into it later, but just a heads up. (I cloned your branch to nexleaf/python-openapi-codec and may contribute that way)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.
Sorry, I'm going to be switching to
drf-yasg
as it already supports nested definitions.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 heads up. I'd rather close this one and switch to it either.