from django.urls import path

from herbie_core.views.delete_business_entity_view import DeleteBusinessEntityView
from herbie_core.views.get_business_entity_data_view import GetBusinessEntityDataView
from herbie_core.views.save_business_entity_view import SaveBusinessEntityView
from herbie_core.views.schema_registry_view import SchemaRegistryView
from herbie_core.views.update_business_entity_view import UpdateBusinessEntityView

urlpatterns = [
    path("<str:business_entity>/save", SaveBusinessEntityView().as_view()),
    path("<str:business_entity>/<str:key>/<str:version>/update", UpdateBusinessEntityView().as_view()),
    path("<str:business_entity>/delete", DeleteBusinessEntityView().as_view()),
    path("schema-registry/<str:business_entity>/<str:version>", SchemaRegistryView().as_view()),
    path("schema-registry/<str:business_entity>/", SchemaRegistryView().as_view(), {"version": ""}),
    path("business-entity/<str:business_entity>/<str:key>", GetBusinessEntityDataView().as_view(), {"version": None}),
    path("business-entity/<str:business_entity>/<str:key>/<str:version>", GetBusinessEntityDataView().as_view()),
]

6779332fe80a656740f25f00021df66c3cf34e77
<mask token>

<mask token>
urlpatterns = [path('<str:business_entity>/save', SaveBusinessEntityView().
    as_view()), path('<str:business_entity>/<str:key>/<str:version>/update',
    UpdateBusinessEntityView().as_view()), path(
    '<str:business_entity>/delete', DeleteBusinessEntityView().as_view()),
    path('schema-registry/<str:business_entity>/<str:version>',
    SchemaRegistryView().as_view()), path(
    'schema-registry/<str:business_entity>/', SchemaRegistryView().as_view(
    ), {'version': ''}), path(
    'business-entity/<str:business_entity>/<str:key>',
    GetBusinessEntityDataView().as_view(), {'version': None}), path(
    'business-entity/<str:business_entity>/<str:key>/<str:version>',
    GetBusinessEntityDataView().as_view())]

from django.urls import path
from herbie_core.views.delete_business_entity_view import DeleteBusinessEntityView
from herbie_core.views.get_business_entity_data_view import GetBusinessEntityDataView
from herbie_core.views.save_business_entity_view import SaveBusinessEntityView
from herbie_core.views.schema_registry_view import SchemaRegistryView
from herbie_core.views.update_business_entity_view import UpdateBusinessEntityView
urlpatterns = [path('<str:business_entity>/save', SaveBusinessEntityView().
    as_view()), path('<str:business_entity>/<str:key>/<str:version>/update',
    UpdateBusinessEntityView().as_view()), path(
    '<str:business_entity>/delete', DeleteBusinessEntityView().as_view()),
    path('schema-registry/<str:business_entity>/<str:version>',
    SchemaRegistryView().as_view()), path(
    'schema-registry/<str:business_entity>/', SchemaRegistryView().as_view(
    ), {'version': ''}), path(
    'business-entity/<str:business_entity>/<str:key>',
    GetBusinessEntityDataView().as_view(), {'version': None}), path(
    'business-entity/<str:business_entity>/<str:key>/<str:version>',
    GetBusinessEntityDataView().as_view())]

from django.urls import path

from herbie_core.views.delete_business_entity_view import DeleteBusinessEntityView
from herbie_core.views.get_business_entity_data_view import GetBusinessEntityDataView
from herbie_core.views.save_business_entity_view import SaveBusinessEntityView
from herbie_core.views.schema_registry_view import SchemaRegistryView
from herbie_core.views.update_business_entity_view import UpdateBusinessEntityView

urlpatterns = [
    path("<str:business_entity>/save", SaveBusinessEntityView().as_view()),
    path("<str:business_entity>/<str:key>/<str:version>/update", UpdateBusinessEntityView().as_view()),
    path("<str:business_entity>/delete", DeleteBusinessEntityView().as_view()),
    path("schema-registry/<str:business_entity>/<str:version>", SchemaRegistryView().as_view()),
    path("schema-registry/<str:business_entity>/", SchemaRegistryView().as_view(), {"version": ""}),
    path("business-entity/<str:business_entity>/<str:key>", GetBusinessEntityDataView().as_view(), {"version": None}),
    path("business-entity/<str:business_entity>/<str:key>/<str:version>", GetBusinessEntityDataView().as_view()),
]
