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] Add OpenAPI v3.0/v3.1 parser #826

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Better
IArtNextI committed Jan 19, 2025
commit 270ccc2d9130efab7d6f7495e2b6a190b4e569f4
6 changes: 3 additions & 3 deletions chaotic-openapi/chaotic_openapi/alo.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from typing import Any, Union, Dict
from front.parser.openapi import GeneratorData
from front.config import Config, ConfigFile, MetaType
from openapi_python_client.parser.openapi import GeneratorData
from openapi_python_client.config import Config, ConfigFile, MetaType
from pathlib import Path

def parse(data_dict: Dict[str, Any], config: Config):
@@ -9,7 +9,7 @@ def parse(data_dict: Dict[str, Any], config: Config):
def config():
return Config.from_sources(ConfigFile(), MetaType.NONE, Path("opa.yaml"), 'utf-8', False, None)

from front import _get_document
from openapi_python_client import _get_document

conf = config()

361 changes: 0 additions & 361 deletions chaotic-openapi/chaotic_openapi/front/__init__.py

This file was deleted.

Loading