Skip to content
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

WIP: support openapi spec version 3 #591

Closed
wants to merge 100 commits into from
Closed

Commits on Jul 10, 2018

  1. Remove vendored swagger-ui, add swagger-ui-bundle as optional pip ext…

    …ra (spec-first#618)
    
    * use external swagger_ui_bundle package, remove vendored files
    * add swagger-ui-bundle to test requirements
    dtkav authored and jmcs committed Jul 10, 2018
    Configuration menu
    Copy the full SHA
    eb374a6 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2018

  1. use external swagger_ui_bundle package, remove vendored files

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    24f87b8 View commit details
    Browse the repository at this point in the history
  2. bump swagger-ui-bundle version

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    3ba56ff View commit details
    Browse the repository at this point in the history
  3. isort

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    51f9b77 View commit details
    Browse the repository at this point in the history
  4. resolve README.rst

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    42f33c3 View commit details
    Browse the repository at this point in the history
  5. options: basic support for oas3

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    fae0073 View commit details
    Browse the repository at this point in the history
  6. split examples into swagger2 and openapi3

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    c8da30d View commit details
    Browse the repository at this point in the history
  7. switch to openapi-spec-validator for multi-version validation

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    71fd269 View commit details
    Browse the repository at this point in the history
  8. change openapi3 spec default path to /openapi.json

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    db23361 View commit details
    Browse the repository at this point in the history
  9. initial support for requestBody

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    8a648c7 View commit details
    Browse the repository at this point in the history
  10. add oas3 restyresolver example

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    116e15c View commit details
    Browse the repository at this point in the history
  11. bugfix for backwards compatability with swagger2

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    0363876 View commit details
    Browse the repository at this point in the history
  12. support component parameters, empty server block

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    6bb7f95 View commit details
    Browse the repository at this point in the history
  13. add sqlalchemy example for oas3

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    e5fc493 View commit details
    Browse the repository at this point in the history
  14. handle servers leading slash edge case

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    403f3c0 View commit details
    Browse the repository at this point in the history
  15. don't warn when using swagger2

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    b7cb2ee View commit details
    Browse the repository at this point in the history
  16. add oas3 basicauth example

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    78966e6 View commit details
    Browse the repository at this point in the history
  17. modify aio tests to load as a module, but not conflict with the aioht…

    …tp package
    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    e41a5ae View commit details
    Browse the repository at this point in the history
  18. add .pytest_cache to gitignore

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    27ac875 View commit details
    Browse the repository at this point in the history
  19. depend on dtkav/openapi-spec-validator until some bugs are merged ups…

    …tream
    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    4eec9e3 View commit details
    Browse the repository at this point in the history
  20. update oas3 sqlalchemy example to expect body arg, force single threa…

    …ding
    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    38126ca View commit details
    Browse the repository at this point in the history
  21. pin Julian/jsonschema and depend on dtkav/openapi-spec-validator unti…

    …l bugfixes are merged upstream
    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    48b717d View commit details
    Browse the repository at this point in the history
  22. progress on oas3 requestBody support

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    59c9bde View commit details
    Browse the repository at this point in the history
  23. somehow tests pass...

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    7daa37d View commit details
    Browse the repository at this point in the history
  24. setup.py can't handle github links

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    90ad783 View commit details
    Browse the repository at this point in the history
  25. add fork notes

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    e187e8d View commit details
    Browse the repository at this point in the history
  26. Update README.rst

    dtkav authored and Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    26b642a View commit details
    Browse the repository at this point in the history
  27. push broken tests for JuxhinDB

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    f26d5ee View commit details
    Browse the repository at this point in the history
  28. some progress

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    cbb00f7 View commit details
    Browse the repository at this point in the history
  29. fixes for mimetypes, and requestBody

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    6c47b4d View commit details
    Browse the repository at this point in the history
  30. update fixture mimtypes and x-body-name field

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    793f85a View commit details
    Browse the repository at this point in the history
  31. fix up some tests, and remove tests for nested null properties

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    421da82 View commit details
    Browse the repository at this point in the history
  32. fix responses

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    5cfddfd View commit details
    Browse the repository at this point in the history
  33. tests passing! what a mess!

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    4717374 View commit details
    Browse the repository at this point in the history
  34. fix backwards compatability with swagger2 tests (must be selected in …

    …conftest.py for now)
    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    6061a02 View commit details
    Browse the repository at this point in the history
  35. flake8

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    5f1f7d3 View commit details
    Browse the repository at this point in the history
  36. clean up operation.py

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    b6ebcd4 View commit details
    Browse the repository at this point in the history
  37. single quotes...

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    f319f26 View commit details
    Browse the repository at this point in the history
  38. point back to p1c2u/openapi-spec-validator now that fixes are upstreamed

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    27411e2 View commit details
    Browse the repository at this point in the history
  39. sort imports

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    9b34a2f View commit details
    Browse the repository at this point in the history
  40. move aiohttp tests back to where they were

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    fdf00a9 View commit details
    Browse the repository at this point in the history
  41. parameterize fixtures to use both swagger and openapi specs

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    74d0f11 View commit details
    Browse the repository at this point in the history
  42. refactor spec version from options.py

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    252b249 View commit details
    Browse the repository at this point in the history
  43. fix restyresolver example

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    7a413fa View commit details
    Browse the repository at this point in the history
  44. fix ConnexionOptions reverting to swagger2, make tests more robust

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    557bb86 View commit details
    Browse the repository at this point in the history
  45. fix isort

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    e6550e1 View commit details
    Browse the repository at this point in the history
  46. use x-body-name in sqlalchemy example

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    eb41f44 View commit details
    Browse the repository at this point in the history
  47. clean up spec version code

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    046e5ac View commit details
    Browse the repository at this point in the history
  48. factor out HTTP form content types

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    3f607a2 View commit details
    Browse the repository at this point in the history
  49. simplify spec reference resolution

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    1a92671 View commit details
    Browse the repository at this point in the history
  50. remove bogus comment

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    ae716ff View commit details
    Browse the repository at this point in the history
  51. be more specific about exception type in get_spec_version

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    fd161a0 View commit details
    Browse the repository at this point in the history
  52. fix flake

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    fdb9ded View commit details
    Browse the repository at this point in the history
  53. factor out query parsing logic

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    defe386 View commit details
    Browse the repository at this point in the history
  54. make variable names consistent (defn, schema, type) and factor out oa…

    …s3 'schema' compatability logic
    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    f026c0b View commit details
    Browse the repository at this point in the history
  55. flake

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    1446290 View commit details
    Browse the repository at this point in the history
  56. isort..

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    dcd6a12 View commit details
    Browse the repository at this point in the history
  57. more get_schema refactor

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    779f5e8 View commit details
    Browse the repository at this point in the history
  58. remove some notes to self

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    af80806 View commit details
    Browse the repository at this point in the history
  59. use six for urlparse import

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    30fc488 View commit details
    Browse the repository at this point in the history
  60. remove typographical changes, better syntax for file validation

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    f667e51 View commit details
    Browse the repository at this point in the history
  61. remote more typographic changes

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    ab82d9c View commit details
    Browse the repository at this point in the history
  62. clean up is_nullable

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    fb569e8 View commit details
    Browse the repository at this point in the history
  63. isort..

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    9442502 View commit details
    Browse the repository at this point in the history
  64. isort again

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    a6af4c2 View commit details
    Browse the repository at this point in the history
  65. remove typographic changes

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    8d3a95e View commit details
    Browse the repository at this point in the history
  66. shorten key names in parameters dict comprehensions

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    bdcca24 View commit details
    Browse the repository at this point in the history
  67. demo class separation

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    9fb513c View commit details
    Browse the repository at this point in the history
  68. clean up whitespace

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    7645933 View commit details
    Browse the repository at this point in the history
  69. remove mention of definitions from Operation

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    e715d74 View commit details
    Browse the repository at this point in the history
  70. add example response to Operation classes

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    40c4c69 View commit details
    Browse the repository at this point in the history
  71. remove logging, reformatting

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    47d2b6b View commit details
    Browse the repository at this point in the history
  72. split test_operation by openapi version

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    b30f0d6 View commit details
    Browse the repository at this point in the history
  73. port test_resolver to Operation

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    0981638 View commit details
    Browse the repository at this point in the history
  74. isort

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    a4b364e View commit details
    Browse the repository at this point in the history
  75. try operations abstract base class

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    4bd2085 View commit details
    Browse the repository at this point in the history
  76. isort

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    4e3ca05 View commit details
    Browse the repository at this point in the history
  77. clean up responses api

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    1d5f2eb View commit details
    Browse the repository at this point in the history
  78. refactor handlers.py to rely on SecureOperation only

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    7a2cd0b View commit details
    Browse the repository at this point in the history
  79. lots of duplicate code, but everything should be separated by classes...

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    9e33255 View commit details
    Browse the repository at this point in the history
  80. fix test_injection test for python2.7

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    0e8388a View commit details
    Browse the repository at this point in the history
  81. centralize query and path parsing and dedup

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    cc699b5 View commit details
    Browse the repository at this point in the history
  82. whoops, forgot the query parser file

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    69419c1 View commit details
    Browse the repository at this point in the history
  83. use abc

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    6ee2174 View commit details
    Browse the repository at this point in the history
  84. fix some rebase errors

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    e5a92bb View commit details
    Browse the repository at this point in the history
  85. remove some debug logging

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    0f830cd View commit details
    Browse the repository at this point in the history
  86. Refactor query and path arrays parsing logic into decorator

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    4495a77 View commit details
    Browse the repository at this point in the history
  87. cherry pick and adapt uri_parsing decorator from swagger2 branch

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    3775496 View commit details
    Browse the repository at this point in the history
  88. remove hardcoded swagger.json from path

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    3bacff2 View commit details
    Browse the repository at this point in the history
  89. remove debug logging from decorators/response.py

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    8763251 View commit details
    Browse the repository at this point in the history
  90. remove unused constant from decorators/validation.py

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    4bef3b7 View commit details
    Browse the repository at this point in the history
  91. remove per-version validators

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    1e351d3 View commit details
    Browse the repository at this point in the history
  92. typo

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    1edf5e6 View commit details
    Browse the repository at this point in the history
  93. fix bug with oas3 spec examples (thanks @viralanomaly)

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    4a99510 View commit details
    Browse the repository at this point in the history
  94. flake

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    3df7ef9 View commit details
    Browse the repository at this point in the history
  95. isort

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    e1f18d2 View commit details
    Browse the repository at this point in the history
  96. fixes from large rebase

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    e52c75e View commit details
    Browse the repository at this point in the history
  97. remove fork notes

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    fae3fb4 View commit details
    Browse the repository at this point in the history
  98. codacy lint

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    9310335 View commit details
    Browse the repository at this point in the history
  99. fix up codacy error in response.py

    Daniel Grossmann-Kavanagh committed Jul 11, 2018
    Configuration menu
    Copy the full SHA
    3bf0a4c View commit details
    Browse the repository at this point in the history