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

Support Python codegen for the OpenAPI backend #21316

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Commits on Aug 10, 2024

  1. Copy openapi java stuff

    grihabor committed Aug 10, 2024
    Configuration menu
    Copy the full SHA
    e0dd5dd View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2024

  1. Implement python codegen

    ```python
    openapi_document(
        name="java",
        source="document.json",
        skip_python=True,
    )
    
    openapi_document(
        name="python",
        source="document.json",
        skip_java=True,
        python_generator_name="python",
        python_additional_properties={
            "packageName": "version_service_client",
            "projectName": "version-service-client",
        },
    )
    ```
    grihabor committed Aug 11, 2024
    Configuration menu
    Copy the full SHA
    14a9762 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2024

  1. Change package structure

    grihabor committed Aug 17, 2024
    Configuration menu
    Copy the full SHA
    4343919 View commit details
    Browse the repository at this point in the history
  2. Implement package_mapper

    grihabor committed Aug 17, 2024
    Configuration menu
    Copy the full SHA
    f5a3caa View commit details
    Browse the repository at this point in the history
  3. One test works

    grihabor committed Aug 17, 2024
    Configuration menu
    Copy the full SHA
    22d4f6a View commit details
    Browse the repository at this point in the history
  4. Some tests works

    grihabor committed Aug 17, 2024
    Configuration menu
    Copy the full SHA
    581a51c View commit details
    Browse the repository at this point in the history
  5. Tests pass

    grihabor committed Aug 17, 2024
    Configuration menu
    Copy the full SHA
    dc0a03a View commit details
    Browse the repository at this point in the history
  6. pants fix

    grihabor committed Aug 17, 2024
    Configuration menu
    Copy the full SHA
    b9973a3 View commit details
    Browse the repository at this point in the history
  7. Fix mypy

    grihabor committed Aug 17, 2024
    Configuration menu
    Copy the full SHA
    4d6eb01 View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2024

  1. pants fix

    grihabor committed Aug 18, 2024
    Configuration menu
    Copy the full SHA
    b854cc1 View commit details
    Browse the repository at this point in the history
  2. Add notes

    grihabor committed Aug 18, 2024
    Configuration menu
    Copy the full SHA
    5899574 View commit details
    Browse the repository at this point in the history
  3. Set 2024

    grihabor committed Aug 18, 2024
    Configuration menu
    Copy the full SHA
    12730a0 View commit details
    Browse the repository at this point in the history
  4. Use itertools.product

    grihabor committed Aug 18, 2024
    Configuration menu
    Copy the full SHA
    6006a84 View commit details
    Browse the repository at this point in the history
  5. Update notes

    grihabor committed Aug 18, 2024
    Configuration menu
    Copy the full SHA
    4e9904e View commit details
    Browse the repository at this point in the history
  6. Update year

    grihabor committed Aug 18, 2024
    Configuration menu
    Copy the full SHA
    ee0a9bc View commit details
    Browse the repository at this point in the history