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

Add support for OpenAPI 3 (WIP) #31

Merged
merged 26 commits into from
Jul 11, 2024
Merged

Add support for OpenAPI 3 (WIP) #31

merged 26 commits into from
Jul 11, 2024

Commits on Jun 20, 2024

  1. wip: add OpenApi 3 support

    yhnavein committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    ba102be View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2024

  1. Configuration menu
    Copy the full SHA
    f8751f8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    39c3ff1 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2024

  1. feat: implement most of type generation part for OpenAPI 3

    fix: adjustments for Swashbuckle generation of more complex query parameters
    chore: remove queryParams config flag, as it won't be needed anymore
    yhnavein committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    01c3da2 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2024

  1. feat: support oneOf / anyOf for type generation

    impr: better support for Wallaby test runner
    impr: easier comparing generated types in unit tests by custom chai assertion
    yhnavein committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    72a129a View commit details
    Browse the repository at this point in the history
  2. feat: basic functionality for generating operations is there

    fix: wallaby now handles all tests correctly
    fix: all tests are passing now
    yhnavein committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    c3aa213 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2024

  1. impr: better support for array types

    impr: better test coverage for the types supported
    chore: remove obsolete code and comments
    yhnavein committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    035019e View commit details
    Browse the repository at this point in the history
  2. feat: properly support return types

    chore: upgrade dependencies
    yhnavein committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    bf6641c View commit details
    Browse the repository at this point in the history
  3. impr: use undici for handling http request

    chore: remove some unused libraries as a result
    yhnavein committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    6704687 View commit details
    Browse the repository at this point in the history
  4. tests: re-enable snapshot tests + regen

    chore: use update and more extensive petstore spec samples
    yhnavein committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    9303b3f View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2024

  1. chore: reorganize code

    chore: remove not used functions and types
    yhnavein committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    697400b View commit details
    Browse the repository at this point in the history
  2. chore: more code cleanup

    yhnavein committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    1990727 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e9f538b View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2024

  1. impr: better handle response types for fetch

    fix: type error in generated code for urlencoded content type
    yhnavein committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    9c64e39 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2024

  1. Configuration menu
    Copy the full SHA
    ac5221f View commit details
    Browse the repository at this point in the history
  2. impr: simplify processing path params

    and now templates are cleaner and shorter
    And also mismatch between path expression and params will be much more visible
    yhnavein committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    7ba815f View commit details
    Browse the repository at this point in the history
  3. docs: improve docs

    yhnavein committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    bb5c57a View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2024

  1. chore: experiment with aspnet core samples

    to test new approach for complex query types in ASP.NET Core
    yhnavein committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    d86a2ab View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cfddb7c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0e545fe View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2024

  1. impr: more robust query parameter serialization

    that offers more configuration options
    yhnavein committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    73a4769 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d7c1256 View commit details
    Browse the repository at this point in the history
  3. fix: default value for template was too aggressive

    fix: small template fixes
    yhnavein committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    51ec643 View commit details
    Browse the repository at this point in the history
  4. fix: support correctly Swashbuckle's UseOneOfForPolymorphism

    impr: example on how Swashbuckle can generate more useful enums
    yhnavein committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    33cf740 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f04e071 View commit details
    Browse the repository at this point in the history
  6. fix: adjust Content Type header in urlencoded case

    as some of the clients are not able to guess content type correctly
    fix: some fixes for SWR template
    yhnavein committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    fc2f8ce View commit details
    Browse the repository at this point in the history