<gh_stars>0
from flask_restx import Api, Namespace
from sokannonser import settings

api = Api(version=settings.API_VERSION, title='Search job ads',
          description='An API for searching and retrieving job ads and for finding '
          'concepts in the Jobtech Taxonomy.',
          default='sokannonser',
          default_label="An API for searching and retrieving job ads.")

ns_platsannons = Namespace('Open AF-job ads',
                           description='Search and retrieve Arbetsförmedlingens (AF) '
                           'job ads. Used for online operations.')

ns_valuestore = Namespace('Jobtech Taxonomy',
                          description=settings.TAX_DESCRIPTION)

api.add_namespace(ns_platsannons, '/')
api.add_namespace(ns_valuestore, '/taxonomy')

from flask_restx import Api, Namespace
from sokannonser import settings

api = Api(version=settings.API_VERSION, title='Search job ads',
          description='An API for searching and retrieving job ads and for finding '
          'concepts in the Jobtech Taxonomy.',
          default='sokannonser',
          default_label="An API for searching and retrieving job ads.")

ns_platsannons = Namespace('Open AF-job ads',
                           description='Search and retrieve Arbetsförmedlingens (AF) '
                           'job ads. Used for online operations.')

ns_valuestore = Namespace('Jobtech Taxonomy',
                          description=settings.TAX_DESCRIPTION)

api.add_namespace(ns_platsannons, '/')
api.add_namespace(ns_valuestore, '/taxonomy')