prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  DNS Providers list doesn't  show type
  In the DNS Providers list, there is a column for the provider type, but it's always empty.
  
  Looking at the code, and the API requests, the issue seems to be with the dns_providers API call, which returns the list of all providers.
  
  There should be a providerType value in the JSON, but it's not there. 
  
  A quick glance at the `DnsProvidersNestedOutputSchema` shows that the value is called `providerType`, but in the database the field is called `provider_type` similar to `api_endpoint` which is called `api_endpoint` in the OutputSchema, so I guess, it's probably just mislabeled in the OutputSchema, and needs to be adjusted there, and maybe in the angular template.
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `lemur/dns_providers/schemas.py`
  Content:
  ```
  1 from marshmallow import fields
  2 
  3 from lemur.common.fields import ArrowDateTime
  4 from lemur.common.schema import LemurInputSchema, LemurOutputSchema
  5 
  6 
  7 class DnsProvidersNestedOutputSchema(LemurOutputSchema):
  8     __envelope__ = False
  9     id = fields.Integer()
  10     name = fields.String()
  11     providerType = fields.String()
  12     description = fields.String()
  13     credentials = fields.String()
  14     api_endpoint = fields.String()
  15     date_created = ArrowDateTime()
  16 
  17 
  18 class DnsProvidersNestedInputSchema(LemurInputSchema):
  19     __envelope__ = False
  20     name = fields.String()
  21     description = fields.String()
  22     provider_type = fields.Dict()
  23 
  24 
  25 dns_provider_output_schema = DnsProvidersNestedOutputSchema()
  26 
  27 dns_provider_input_schema = DnsProvidersNestedInputSchema()
  28
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/lemur/dns_providers/schemas.py b/lemur/dns_providers/schemas.py
  --- a/lemur/dns_providers/schemas.py
  +++ b/lemur/dns_providers/schemas.py
  @@ -8,7 +8,7 @@
       __envelope__ = False
       id = fields.Integer()
       name = fields.String()
  -    providerType = fields.String()
  +    provider_type = fields.String()
       description = fields.String()
       credentials = fields.String()
       api_endpoint = fields.String()
  
verification_info: {"golden_diff": "diff --git a/lemur/dns_providers/schemas.py b/lemur/dns_providers/schemas.py\n--- a/lemur/dns_providers/schemas.py\n+++ b/lemur/dns_providers/schemas.py\n@@ -8,7 +8,7 @@\n     __envelope__ = False\n     id = fields.Integer()\n     name = fields.String()\n-    providerType = fields.String()\n+    provider_type = fields.String()\n     description = fields.String()\n     credentials = fields.String()\n     api_endpoint = fields.String()\n", "issue": "DNS Providers list doesn't  show type\nIn the DNS Providers list, there is a column for the provider type, but it's always empty.\r\n\r\nLooking at the code, and the API requests, the issue seems to be with the dns_providers API call, which returns the list of all providers.\r\n\r\nThere should be a providerType value in the JSON, but it's not there. \r\n\r\nA quick glance at the `DnsProvidersNestedOutputSchema` shows that the value is called `providerType`, but in the database the field is called `provider_type` similar to `api_endpoint` which is called `api_endpoint` in the OutputSchema, so I guess, it's probably just mislabeled in the OutputSchema, and needs to be adjusted there, and maybe in the angular template.\n", "before_files": [{"content": "from marshmallow import fields\n\nfrom lemur.common.fields import ArrowDateTime\nfrom lemur.common.schema import LemurInputSchema, LemurOutputSchema\n\n\nclass DnsProvidersNestedOutputSchema(LemurOutputSchema):\n    __envelope__ = False\n    id = fields.Integer()\n    name = fields.String()\n    providerType = fields.String()\n    description = fields.String()\n    credentials = fields.String()\n    api_endpoint = fields.String()\n    date_created = ArrowDateTime()\n\n\nclass DnsProvidersNestedInputSchema(LemurInputSchema):\n    __envelope__ = False\n    name = fields.String()\n    description = fields.String()\n    provider_type = fields.Dict()\n\n\ndns_provider_output_schema = DnsProvidersNestedOutputSchema()\n\ndns_provider_input_schema = DnsProvidersNestedInputSchema()\n", "path": "lemur/dns_providers/schemas.py"}], "after_files": [{"content": "from marshmallow import fields\n\nfrom lemur.common.fields import ArrowDateTime\nfrom lemur.common.schema import LemurInputSchema, LemurOutputSchema\n\n\nclass DnsProvidersNestedOutputSchema(LemurOutputSchema):\n    __envelope__ = False\n    id = fields.Integer()\n    name = fields.String()\n    provider_type = fields.String()\n    description = fields.String()\n    credentials = fields.String()\n    api_endpoint = fields.String()\n    date_created = ArrowDateTime()\n\n\nclass DnsProvidersNestedInputSchema(LemurInputSchema):\n    __envelope__ = False\n    name = fields.String()\n    description = fields.String()\n    provider_type = fields.Dict()\n\n\ndns_provider_output_schema = DnsProvidersNestedOutputSchema()\n\ndns_provider_input_schema = DnsProvidersNestedInputSchema()\n", "path": "lemur/dns_providers/schemas.py"}]}