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

rebased aiopenapi3 #69

Open
wants to merge 125 commits into
base: master
Choose a base branch
from
Open

rebased aiopenapi3 #69

wants to merge 125 commits into from

Commits on Feb 1, 2022

  1. using dataclasses

    describe the base types using dataclasses,
    use the data class annotations for parsing
    all unit tests pass
    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    b7a9774 View commit details
    Browse the repository at this point in the history
  2. dataclasses - …

     - using Optional
     - default value
     - have a dataclass constructor
    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    bcc98a4 View commit details
    Browse the repository at this point in the history
  3. required_fields - using typing Optional information instead

     - the classmethod property ObjectBase.required_fields
       requires python 3.9
    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    880de1a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    de5fc0f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c7d1748 View commit details
    Browse the repository at this point in the history
  6. pydantic - more tests work

    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    4495473 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    babde76 View commit details
    Browse the repository at this point in the history
  8. Model - remove

    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    8fc06c9 View commit details
    Browse the repository at this point in the history
  9. pydantic - remove relicts

    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    3c4cd76 View commit details
    Browse the repository at this point in the history
  10. pydantic - all tests work

    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    ff81552 View commit details
    Browse the repository at this point in the history
  11. tests - include specs from bugs #9 & #10

     - local data loading for split specifications (open5gs)
    
    edit - not including all the api specs …
    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    eb2f8d6 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    4c14f99 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    0e30074 View commit details
    Browse the repository at this point in the history
  14. pydantic - cleanups

    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    75b9236 View commit details
    Browse the repository at this point in the history
  15. pydantic - cleanups

    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    aea94b4 View commit details
    Browse the repository at this point in the history
  16. pydantic - ObjectBase is not extended, ObjectExtended is

     - required as __root__ can not have additional fields (extensions)
       in Reference
    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    901da19 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    2b8f232 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    82372f9 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    776cab2 View commit details
    Browse the repository at this point in the history
  20. cleanup - unused imports

    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    507a830 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    c46bae8 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    faf8b16 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    ef14b65 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    3bfa8e1 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    09e157a View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    ae6b33e View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    645363a View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    85c7d32 View commit details
    Browse the repository at this point in the history
  29. model_test -

     - test_model supporting basic discrimination
    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    1f8c42b View commit details
    Browse the repository at this point in the history
  30. openapi - resolving references is in-situ just links the target

    Reference uses __{g,s}etattr__ to forward to target
    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    c7cfef1 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    9e1edc2 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    6c2e3de View commit details
    Browse the repository at this point in the history
  33. calling - restructure

    move request handling from Operation to OperationCall,
    rename OperationCall to Request
    In OpenAPI use __getattr__ instead of __getattribute__
    for the ….call_ interface
    introduce OpenAPI._.<call> as alternate interface
    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    80c181e View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    07e374f View commit details
    Browse the repository at this point in the history
  35. loader - move

    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    9e06494 View commit details
    Browse the repository at this point in the history
  36. typing

    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    e903a41 View commit details
    Browse the repository at this point in the history
  37. Request - use httpx, add async interface

    add OpenAPI.load_{async,sync}
    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    fc93190 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    a5f6c93 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    4ff5433 View commit details
    Browse the repository at this point in the history
  40. tests - httpx changes

    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    ddec219 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    86f0f7c View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    41a96b3 View commit details
    Browse the repository at this point in the history
  43. cleanups

    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    dca487c View commit details
    Browse the repository at this point in the history
  44. rename to aiopenapi3

    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    7583e9d View commit details
    Browse the repository at this point in the history
  45. codecov

    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    a08da44 View commit details
    Browse the repository at this point in the history
  46. codecov trigger

    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    95fbc73 View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    d5d7022 View commit details
    Browse the repository at this point in the history
  48. python 3.7 compatiblity

    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    0876038 View commit details
    Browse the repository at this point in the history
  49. Loader - tests

    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    84d0fec View commit details
    Browse the repository at this point in the history
  50. python 3.8 required due to Literal

    ignoring existing workaround python/typing#707
    for python 3.7
    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    3d00bdd View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    0a69260 View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    a3a9694 View commit details
    Browse the repository at this point in the history
  53. Configuration menu
    Copy the full SHA
    c7cfda2 View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    6c86e85 View commit details
    Browse the repository at this point in the history
  55. Configuration menu
    Copy the full SHA
    c58b5a9 View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    f769e58 View commit details
    Browse the repository at this point in the history
  57. Configuration menu
    Copy the full SHA
    f159ab2 View commit details
    Browse the repository at this point in the history
  58. pre-commit.ci

    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    8ad8018 View commit details
    Browse the repository at this point in the history
  59. Configuration menu
    Copy the full SHA
    cbde1b7 View commit details
    Browse the repository at this point in the history
  60. tests - pre-commit

    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    a0c9433 View commit details
    Browse the repository at this point in the history
  61. expression - remove

    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    1784965 View commit details
    Browse the repository at this point in the history
  62. Configuration menu
    Copy the full SHA
    6d60db7 View commit details
    Browse the repository at this point in the history
  63. setup.cfg - add url

    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    3fdf369 View commit details
    Browse the repository at this point in the history
  64. Configuration menu
    Copy the full SHA
    f4180bb View commit details
    Browse the repository at this point in the history
  65. plugin - dealing with real world implementations

    modify
     - the document description text/parsed
     - send
     - receive
    data/text/object/…
    
    similar to suds plugins
    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    7d7356d View commit details
    Browse the repository at this point in the history
  66. Configuration menu
    Copy the full SHA
    1a7beb4 View commit details
    Browse the repository at this point in the history
  67. Request/Plugin - coverage

    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    5a172d8 View commit details
    Browse the repository at this point in the history
  68. [pre-commit.ci] pre-commit autoupdate

    updates:
    - [github.com/hadialqattan/pycln: v0.0.4 → v1.1.0](hadialqattan/pycln@v0.0.4...v1.1.0)
    - [github.com/psf/black: 21.6b0 → 21.12b0](psf/black@21.6b0...21.12b0)
    - [github.com/pre-commit/pre-commit-hooks: v4.0.1 → v4.1.0](pre-commit/pre-commit-hooks@v4.0.1...v4.1.0)
    pre-commit-ci[bot] authored and commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    36c16ab View commit details
    Browse the repository at this point in the history
  69. validator - use load_file

    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    2d7785a View commit details
    Browse the repository at this point in the history
  70. request - set user-agent

    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    659c3e3 View commit details
    Browse the repository at this point in the history
  71. validator - use load_file

    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    b6b0009 View commit details
    Browse the repository at this point in the history
  72. v3.1 - adding support

    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    e94b15c View commit details
    Browse the repository at this point in the history
  73. Configuration menu
    Copy the full SHA
    b5d97a1 View commit details
    Browse the repository at this point in the history
  74. v30 - fixes

    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    5e2a6e4 View commit details
    Browse the repository at this point in the history
  75. v31/schema - ref

    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    af41d84 View commit details
    Browse the repository at this point in the history
  76. Configuration menu
    Copy the full SHA
    d0b1f61 View commit details
    Browse the repository at this point in the history
  77. Configuration menu
    Copy the full SHA
    948c99b View commit details
    Browse the repository at this point in the history
  78. Configuration menu
    Copy the full SHA
    74afdb3 View commit details
    Browse the repository at this point in the history
  79. Configuration menu
    Copy the full SHA
    d56b8ef View commit details
    Browse the repository at this point in the history
  80. v20 - …

     - Parameter.items can be empty
     - add Parameter.allowEmptyValue
     - {Item,Parameter,Header} have .uniqueitems
    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    0c781cd View commit details
    Browse the repository at this point in the history
  81. Configuration menu
    Copy the full SHA
    6df4ae0 View commit details
    Browse the repository at this point in the history
  82. example - value is Any

    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    0e42c1f View commit details
    Browse the repository at this point in the history
  83. Configuration menu
    Copy the full SHA
    d4b55d2 View commit details
    Browse the repository at this point in the history
  84. Configuration menu
    Copy the full SHA
    6e5a037 View commit details
    Browse the repository at this point in the history
  85. Configuration menu
    Copy the full SHA
    f08a87f View commit details
    Browse the repository at this point in the history
  86. v30 - export the glue

    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    b779638 View commit details
    Browse the repository at this point in the history
  87. Configuration menu
    Copy the full SHA
    d0e37ec View commit details
    Browse the repository at this point in the history
  88. Configuration menu
    Copy the full SHA
    e17b47b View commit details
    Browse the repository at this point in the history
  89. Configuration menu
    Copy the full SHA
    20112ee View commit details
    Browse the repository at this point in the history
  90. Configuration menu
    Copy the full SHA
    4d571fe View commit details
    Browse the repository at this point in the history
  91. Configuration menu
    Copy the full SHA
    eb47989 View commit details
    Browse the repository at this point in the history
  92. Configuration menu
    Copy the full SHA
    0c3bb14 View commit details
    Browse the repository at this point in the history
  93. Configuration menu
    Copy the full SHA
    5c0ae85 View commit details
    Browse the repository at this point in the history
  94. Configuration menu
    Copy the full SHA
    dafb3cb View commit details
    Browse the repository at this point in the history
  95. v20/30/31 - the PathBase

    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    5b6c43b View commit details
    Browse the repository at this point in the history
  96. tests - fixes

    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    eea8e95 View commit details
    Browse the repository at this point in the history
  97. Paths - …

    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    7626842 View commit details
    Browse the repository at this point in the history
  98. loader - fix tests

    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    8c51026 View commit details
    Browse the repository at this point in the history
  99. compat - going to 3.7

    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    432494e View commit details
    Browse the repository at this point in the history
  100. Configuration menu
    Copy the full SHA
    4d209ed View commit details
    Browse the repository at this point in the history
  101. Configuration menu
    Copy the full SHA
    9ccbe59 View commit details
    Browse the repository at this point in the history
  102. tests - invalid response

    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    c9c399e View commit details
    Browse the repository at this point in the history
  103. v20 - tests

    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    45121fe View commit details
    Browse the repository at this point in the history
  104. v20/30/31 - authentication

     - each SecurityRequirements ANDs it's SecuritySchemes
       combined authentication (e.g. user & token in header) is possible
    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    c58d0e1 View commit details
    Browse the repository at this point in the history
  105. Configuration menu
    Copy the full SHA
    f1272ca View commit details
    Browse the repository at this point in the history
  106. Configuration menu
    Copy the full SHA
    6ae54d5 View commit details
    Browse the repository at this point in the history
  107. Configuration menu
    Copy the full SHA
    44830af View commit details
    Browse the repository at this point in the history
  108. Configuration menu
    Copy the full SHA
    28dfa4c View commit details
    Browse the repository at this point in the history
  109. Configuration menu
    Copy the full SHA
    5720784 View commit details
    Browse the repository at this point in the history
  110. Configuration menu
    Copy the full SHA
    a160b86 View commit details
    Browse the repository at this point in the history
  111. Configuration menu
    Copy the full SHA
    47a0f46 View commit details
    Browse the repository at this point in the history
  112. OpenAPI.url - port

    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    2ceb13d View commit details
    Browse the repository at this point in the history
  113. model - primitive types

    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    d5178fc View commit details
    Browse the repository at this point in the history
  114. tuple - unlist

    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    ad83b60 View commit details
    Browse the repository at this point in the history
  115. Configuration menu
    Copy the full SHA
    ddcd6f5 View commit details
    Browse the repository at this point in the history
  116. model - extract functions

    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    17b3a1a View commit details
    Browse the repository at this point in the history
  117. model - cache type

    for discriminated objects create all types it is required to iterate the paths
    and pre-cache the types for the body & return values
    parameter types & v20 discriminated types are left
    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    e185891 View commit details
    Browse the repository at this point in the history
  118. Schema.get_type - initialize by iterating the gc's objects …

    taking care of discriminated Schemas.
    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    1d0eee1 View commit details
    Browse the repository at this point in the history
  119. SpecError - sorted names

    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    8b691d9 View commit details
    Browse the repository at this point in the history
  120. content-type in encodings

    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    59332e4 View commit details
    Browse the repository at this point in the history
  121. Configuration menu
    Copy the full SHA
    efe58e3 View commit details
    Browse the repository at this point in the history
  122. Configuration menu
    Copy the full SHA
    a72fdbf View commit details
    Browse the repository at this point in the history
  123. openapi.url - partition

    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    c64f058 View commit details
    Browse the repository at this point in the history
  124. ObjectExtended - extensions better be Any than object

     - arbitrary_types_allowed = False
    commonism committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    b5584d8 View commit details
    Browse the repository at this point in the history
  125. Configuration menu
    Copy the full SHA
    8fb9059 View commit details
    Browse the repository at this point in the history