code: def validate():
      '''Validate the Swagger/OpenAPI specification with your config'''
      with current_app.test_request_context():
          schema = json.loads(json.dumps(api.__schema__))
      try:
          schemas.validate(schema)
          success('API specifications are valid')
      except schemas.SchemaValidationError as e:
          exit_with_error('API specifications are not valid', ef validate():
      '''Validate the Swagger/OpenAPI specification with your config'''
      with current_app.test_request_context():
          schema = json.loads(json.dumps(api.__schema__))
      try:
          schemas.validate(schema)
          success('API specifications are valid')
      except schemas.SchemaValidationError as e:
          exit_with_error('API specifications are not valid', e)
docs: Validate the Swagger/OpenAPI specification with your config