graviteeio_cli/commands/apim/apis/definition_group/lint.py
def lint(obj, config_path, file, set):
    """This command allow to run a serie of tests to verify that api definition configuration is correctly formed."""
    gio_config: GraviteeioConfig = obj['config']

    api_resolver = ConfigResolver(config_path, file)
    api_def_config = api_resolver.get_data(
        Config_Type.API,
        debug=False,
        set_values=set
    )

    lint_service.validate(api_def_config, DocumentType.gio_apim, gio_config.linter_conf, display_summary=True)
This command allow to run a serie of tests to verify that api definition configuration is correctly formed.
This command allow to run a serie of tests to verify that api definition configuration is correctly formed.
This command allow to run a serie of tests to verify that api definition configuration is correctly formed .
def lint(obj, config_path, file, set):
    gio_config: GraviteeioConfig = obj['config']
    api_resolver = ConfigResolver(config_path, file)
    api_def_config = api_resolver.get_data(
        Config_Type.API,
        debug=False,
        set_values=set
    )
    lint_service.validate(api_def_config, DocumentType.gio_apim, gio_config.linter_conf, display_summary=True)
def lint ( obj , config_path , file , set ) : gio_config : GraviteeioConfig = obj [ 'config' ] api_resolver = ConfigResolver ( config_path , file ) api_def_config = api_resolver . get_data ( Config_Type . API , debug = False , set_values = set ) lint_service . validate ( api_def_config , DocumentType . gio_apim , gio_config . linter_conf , display_summary = True )
This command allow to run a serie of tests to verify that api definition configuration is correctly formed.
This command allow to run a serie of tests to verify that api definition configuration is correctly formed .
"""This command allow to run a serie of tests to verify that api definition configuration is correctly formed."""
obj
config_path
file
set