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 converting OpenAPI3 specs to TypeSpec #3663

Merged
merged 45 commits into from
Jul 2, 2024

Commits on Jun 26, 2024

  1. Add support for converting OpenAPI3 specs to TypeSpec

    Christopher Radek authored and Christopher Radek committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    4fbd0c9 View commit details
    Browse the repository at this point in the history
  2. remove accidentally committed tsp file from openapi3 package

    Christopher Radek authored and Christopher Radek committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    2cd4cdf View commit details
    Browse the repository at this point in the history
  3. update pnpm-lock.yaml

    Christopher Radek authored and Christopher Radek committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    e1b887b View commit details
    Browse the repository at this point in the history
  4. update @typespec/openapi3 to use same version of prettier as peer pac…

    …kages
    Christopher Radek authored and Christopher Radek committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    e3097d4 View commit details
    Browse the repository at this point in the history
  5. prevent CLI from being ran on every test file

    Christopher Radek authored and Christopher Radek committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    ba5cca5 View commit details
    Browse the repository at this point in the history
  6. increase printWidth of generated TSP files to 100 from 80

    Christopher Radek authored and Christopher Radek committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    d512401 View commit details
    Browse the repository at this point in the history
  7. remove examples from petstore-swagger spec

    Christopher Radek authored and Christopher Radek committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    49d3c04 View commit details
    Browse the repository at this point in the history
  8. safer * replacement in response contentTypes

    Christopher Radek authored and Christopher Radek committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    67e8657 View commit details
    Browse the repository at this point in the history
  9. add changeset

    Christopher Radek authored and Christopher Radek committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    2fe4f65 View commit details
    Browse the repository at this point in the history
  10. Merge remote-tracking branch 'upstream/main' into oa3-to-ts

    Christopher Radek authored and Christopher Radek committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    e19d9ed View commit details
    Browse the repository at this point in the history
  11. add proper version info for CLI

    Christopher Radek authored and Christopher Radek committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    eac2ac4 View commit details
    Browse the repository at this point in the history
  12. add some error reporting to CLI

    Christopher Radek authored and Christopher Radek committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    ff8b86e View commit details
    Browse the repository at this point in the history
  13. update package description and remove unused cli arg

    Christopher Radek authored and Christopher Radek committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    cea1315 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    cea668a View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2024

  1. Configuration menu
    Copy the full SHA
    3d2861a View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2024

  1. add support for oneOf

    Christopher Radek authored and Christopher Radek committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    d706b4b View commit details
    Browse the repository at this point in the history
  2. rename compile to convert

    Christopher Radek authored and Christopher Radek committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    1cd876d View commit details
    Browse the repository at this point in the history
  3. rename openapi3-to-tsp cli to tsp-openapi3

    Christopher Radek authored and Christopher Radek committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    79f41d2 View commit details
    Browse the repository at this point in the history
  4. missed one file while updating compile -> convert

    Christopher Radek authored and Christopher Radek committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    b595270 View commit details
    Browse the repository at this point in the history
  5. enforce snapshots

    Christopher Radek authored and Christopher Radek committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    fef63e8 View commit details
    Browse the repository at this point in the history
  6. fix arrays of enums and add nullable support

    Christopher Radek authored and Christopher Radek committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    b2d1cae View commit details
    Browse the repository at this point in the history
  7. add generate schema types tests

    Christopher Radek authored and Christopher Radek committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    5674ea6 View commit details
    Browse the repository at this point in the history
  8. update spec snapshots

    Christopher Radek authored and Christopher Radek committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    ec8c443 View commit details
    Browse the repository at this point in the history
  9. Merge remote-tracking branch 'upstream/main' into oa3-to-ts

    Christopher Radek authored and Christopher Radek committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    e4e0c96 View commit details
    Browse the repository at this point in the history
  10. improve array type generation

    Christopher Radek authored and Christopher Radek committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    72af3f2 View commit details
    Browse the repository at this point in the history
  11. merge emitter into generators: emit-main to generate-main

    Christopher Radek authored and Christopher Radek committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    3587aa2 View commit details
    Browse the repository at this point in the history
  12. update dependency path

    Christopher Radek authored and Christopher Radek committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    94458cd View commit details
    Browse the repository at this point in the history
  13. import HttpVerb instead of defining own type

    Christopher Radek authored and Christopher Radek committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    41a11f1 View commit details
    Browse the repository at this point in the history
  14. update where OpenAPI3 document parser casting occurs

    Christopher Radek authored and Christopher Radek committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    9d4318a View commit details
    Browse the repository at this point in the history
  15. remove prettier dep

    Christopher Radek authored and Christopher Radek committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    827e909 View commit details
    Browse the repository at this point in the history
  16. expand OpenAPI3Info interface

    Christopher Radek authored and Christopher Radek committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    0982bb3 View commit details
    Browse the repository at this point in the history
  17. format types in test

    Christopher Radek authored and Christopher Radek committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    fa2df44 View commit details
    Browse the repository at this point in the history
  18. Merge remote-tracking branch 'upstream/main' into oa3-to-ts

    Christopher Radek authored and Christopher Radek committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    5b3043c View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2024

  1. Configuration menu
    Copy the full SHA
    eb7472b View commit details
    Browse the repository at this point in the history
  2. rearrange imports

    Christopher Radek authored and Christopher Radek committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    0d38949 View commit details
    Browse the repository at this point in the history
  3. update changelog with new cli name

    Christopher Radek authored and Christopher Radek committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    60f456e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6b6b4c1 View commit details
    Browse the repository at this point in the history
  5. switch from yargs to parseArgs

    Christopher Radek authored and Christopher Radek committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    b11fbf4 View commit details
    Browse the repository at this point in the history
  6. remove no longer needed ts-node config in tsconfig

    Christopher Radek authored and Christopher Radek committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    1136d93 View commit details
    Browse the repository at this point in the history
  7. remove unneeded dependencies

    Christopher Radek authored and Christopher Radek committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    66c6242 View commit details
    Browse the repository at this point in the history
  8. formatting in the changelog

    Christopher Radek authored and Christopher Radek committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    f1b119c View commit details
    Browse the repository at this point in the history
  9. add tsp-openapi3 docs

    Christopher Radek authored and Christopher Radek committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    2ddf85a View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    6c6ad1a View commit details
    Browse the repository at this point in the history
  11. update doc website

    Christopher Radek authored and Christopher Radek committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    f542951 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    571f5cd View commit details
    Browse the repository at this point in the history